svn commit: samba r23355 - in branches: SAMBA_3_0/source/nsswitch SAMBA_3_0_26/source/nsswitch

gd at samba.org gd at samba.org
Tue Jun 5 10:49:06 GMT 2007


Author: gd
Date: 2007-06-05 10:49:05 +0000 (Tue, 05 Jun 2007)
New Revision: 23355

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

Log:
Fix some more build warnings.

Guenther

Modified:
   branches/SAMBA_3_0/source/nsswitch/winbindd_ads.c
   branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c
   branches/SAMBA_3_0_26/source/nsswitch/winbindd_ads.c
   branches/SAMBA_3_0_26/source/nsswitch/winbindd_cache.c


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_ads.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_ads.c	2007-06-05 10:23:56 UTC (rev 23354)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_ads.c	2007-06-05 10:49:05 UTC (rev 23355)
@@ -969,7 +969,7 @@
 		goto done;
 	} 
 	
-	DEBUG(10, ("ads lookup_groupmem: got %d sids via extended dn call\n", num_members));
+	DEBUG(10, ("ads lookup_groupmem: got %d sids via extended dn call\n", (int)num_members));
 	
 	/* Now that we have a list of sids, we need to get the
 	 * lists of names and name_types belonging to these sids.
@@ -1078,7 +1078,7 @@
 		else if (!NT_STATUS_IS_OK(status)) {
 			DEBUG(10, ("lookup_groupmem: Error looking up %d "
 				   "sids via rpc_lsa_lookup_sids: %s\n",
-				   num_members, nt_errstr(status)));
+				   (int)num_members, nt_errstr(status)));
 			goto done;
 		}
 	}

Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c	2007-06-05 10:23:56 UTC (rev 23354)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c	2007-06-05 10:49:05 UTC (rev 23355)
@@ -3419,7 +3419,7 @@
 
 	if (bytes_read != sizeof(v_status)) {
 		DEBUG(10, ("winbindd_validate_cache: read %d bytes from pipe "
-			   "but expected %d", bytes_read, sizeof(v_status)));
+			   "but expected %d", bytes_read, (int)sizeof(v_status)));
 		DEBUGADD(10, (" -> assuming child crashed\n"));
 		v_status.success = False;
 	}

Modified: branches/SAMBA_3_0_26/source/nsswitch/winbindd_ads.c
===================================================================
--- branches/SAMBA_3_0_26/source/nsswitch/winbindd_ads.c	2007-06-05 10:23:56 UTC (rev 23354)
+++ branches/SAMBA_3_0_26/source/nsswitch/winbindd_ads.c	2007-06-05 10:49:05 UTC (rev 23355)
@@ -969,7 +969,7 @@
 		goto done;
 	} 
 	
-	DEBUG(10, ("ads lookup_groupmem: got %d sids via extended dn call\n", num_members));
+	DEBUG(10, ("ads lookup_groupmem: got %d sids via extended dn call\n", (int)num_members));
 	
 	/* Now that we have a list of sids, we need to get the
 	 * lists of names and name_types belonging to these sids.
@@ -1078,7 +1078,7 @@
 		else if (!NT_STATUS_IS_OK(status)) {
 			DEBUG(10, ("lookup_groupmem: Error looking up %d "
 				   "sids via rpc_lsa_lookup_sids: %s\n",
-				   num_members, nt_errstr(status)));
+				   (int)num_members, nt_errstr(status)));
 			goto done;
 		}
 	}

Modified: branches/SAMBA_3_0_26/source/nsswitch/winbindd_cache.c
===================================================================
--- branches/SAMBA_3_0_26/source/nsswitch/winbindd_cache.c	2007-06-05 10:23:56 UTC (rev 23354)
+++ branches/SAMBA_3_0_26/source/nsswitch/winbindd_cache.c	2007-06-05 10:49:05 UTC (rev 23355)
@@ -3419,7 +3419,7 @@
 
 	if (bytes_read != sizeof(v_status)) {
 		DEBUG(10, ("winbindd_validate_cache: read %d bytes from pipe "
-			   "but expected %d", bytes_read, sizeof(v_status)));
+			   "but expected %d", bytes_read, (int)sizeof(v_status)));
 		DEBUGADD(10, (" -> assuming child crashed\n"));
 		v_status.success = False;
 	}



More information about the samba-cvs mailing list