svn commit: samba r13094 - in trunk/source/include: .

jra at samba.org jra at samba.org
Mon Jan 23 22:32:56 GMT 2006


Author: jra
Date: 2006-01-23 22:32:56 +0000 (Mon, 23 Jan 2006)
New Revision: 13094

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13094

Log:
Fix warnings assigning int to a size_t.
Jeremy.

Modified:
   trunk/source/include/auth.h
   trunk/source/include/smb.h


Changeset:
Modified: trunk/source/include/auth.h
===================================================================
--- trunk/source/include/auth.h	2006-01-23 22:02:52 UTC (rev 13093)
+++ trunk/source/include/auth.h	2006-01-23 22:32:56 UTC (rev 13094)
@@ -51,7 +51,7 @@
 	gid_t gid;
 	
 	/* This groups info is needed for when we become_user() for this uid */
-	int n_groups;
+	size_t n_groups;
 	gid_t *groups;
 	
 	/* NT group information taken from the info3 structure */

Modified: trunk/source/include/smb.h
===================================================================
--- trunk/source/include/smb.h	2006-01-23 22:02:52 UTC (rev 13093)
+++ trunk/source/include/smb.h	2006-01-23 22:32:56 UTC (rev 13094)
@@ -544,7 +544,7 @@
 	/* following groups stuff added by ih */
 
 	/* This groups info is valid for the user that *opened* the connection */
-	int ngroups;
+	size_t ngroups;
 	gid_t *groups;
 	NT_USER_TOKEN *nt_user_token;
 	



More information about the samba-cvs mailing list