svn commit: samba r24031 - in branches: SAMBA_3_2/source/lib SAMBA_3_2_0/source/lib

vlendec at samba.org vlendec at samba.org
Tue Jul 24 11:45:35 GMT 2007


Author: vlendec
Date: 2007-07-24 11:45:29 +0000 (Tue, 24 Jul 2007)
New Revision: 24031

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

Log:
Fix some 64 bit warnings
Modified:
   branches/SAMBA_3_2/source/lib/ctdbd_conn.c
   branches/SAMBA_3_2_0/source/lib/ctdbd_conn.c


Changeset:
Modified: branches/SAMBA_3_2/source/lib/ctdbd_conn.c
===================================================================
--- branches/SAMBA_3_2/source/lib/ctdbd_conn.c	2007-07-24 10:35:44 UTC (rev 24030)
+++ branches/SAMBA_3_2/source/lib/ctdbd_conn.c	2007-07-24 11:45:29 UTC (rev 24031)
@@ -157,8 +157,8 @@
 
 	if (msglen < sizeof(struct ctdb_req_header)) {
 		DEBUG(0, ("Got invalid msglen: %d, expected at least %d for "
-			  "the req_header\n", msglen,
-			  sizeof(struct ctdb_req_header)));
+			  "the req_header\n", (int)msglen,
+			  (int)sizeof(struct ctdb_req_header)));
 		cluster_fatal("ctdbd protocol error\n");
 	}
 
@@ -313,7 +313,8 @@
 
 		if (conn->msg_ctx == NULL) {
 			DEBUG(1, ("Got a message without having a msg ctx, "
-				  "dropping msg %llu\n", msg->srvid));
+				  "dropping msg %llu\n",
+				  (long long unsigned)msg->srvid));
 			goto again;
 		}
 		

Modified: branches/SAMBA_3_2_0/source/lib/ctdbd_conn.c
===================================================================
--- branches/SAMBA_3_2_0/source/lib/ctdbd_conn.c	2007-07-24 10:35:44 UTC (rev 24030)
+++ branches/SAMBA_3_2_0/source/lib/ctdbd_conn.c	2007-07-24 11:45:29 UTC (rev 24031)
@@ -157,8 +157,8 @@
 
 	if (msglen < sizeof(struct ctdb_req_header)) {
 		DEBUG(0, ("Got invalid msglen: %d, expected at least %d for "
-			  "the req_header\n", msglen,
-			  sizeof(struct ctdb_req_header)));
+			  "the req_header\n", (int)msglen,
+			  (int)sizeof(struct ctdb_req_header)));
 		cluster_fatal("ctdbd protocol error\n");
 	}
 
@@ -313,7 +313,8 @@
 
 		if (conn->msg_ctx == NULL) {
 			DEBUG(1, ("Got a message without having a msg ctx, "
-				  "dropping msg %llu\n", msg->srvid));
+				  "dropping msg %llu\n",
+				  (long long unsigned)msg->srvid));
 			goto again;
 		}
 		



More information about the samba-cvs mailing list