svn commit: samba r12410 - in trunk/source/utils: .
jra at samba.org
jra at samba.org
Wed Dec 21 20:50:23 GMT 2005
Author: jra
Date: 2005-12-21 20:50:22 +0000 (Wed, 21 Dec 2005)
New Revision: 12410
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12410
Log:
Fix warnings in Jerry's new code when compiled on an X86_64 box.
uint32 != size_t.
Jeremy.
Modified:
trunk/source/utils/sharesec.c
Changeset:
Modified: trunk/source/utils/sharesec.c
===================================================================
--- trunk/source/utils/sharesec.c 2005-12-21 20:33:24 UTC (rev 12409)
+++ trunk/source/utils/sharesec.c 2005-12-21 20:50:22 UTC (rev 12410)
@@ -212,7 +212,7 @@
/********************************************************************
********************************************************************/
-static SEC_DESC* parse_acl_string( TALLOC_CTX *ctx, const char *szACL, uint32 *sd_size )
+static SEC_DESC* parse_acl_string( TALLOC_CTX *ctx, const char *szACL, size_t *sd_size )
{
SEC_DESC *sd = NULL;
SEC_ACE *ace;
@@ -266,7 +266,7 @@
static char *the_acl = NULL;
fstring sharename;
BOOL force_acl = False;
- uint32 sd_size = 0;
+ size_t sd_size = 0;
SEC_DESC *secdesc;
int snum;
poptContext pc;
More information about the samba-cvs
mailing list