svn commit: samba r23375 - in branches: SAMBA_3_0/source/smbd SAMBA_3_0_26/source/smbd

vlendec at samba.org vlendec at samba.org
Thu Jun 7 07:49:45 GMT 2007


Author: vlendec
Date: 2007-06-07 07:49:43 +0000 (Thu, 07 Jun 2007)
New Revision: 23375

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

Log:
Fix a 64-bit warning
Modified:
   branches/SAMBA_3_0/source/smbd/open.c
   branches/SAMBA_3_0_26/source/smbd/open.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/open.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/open.c	2007-06-07 06:08:10 UTC (rev 23374)
+++ branches/SAMBA_3_0/source/smbd/open.c	2007-06-07 07:49:43 UTC (rev 23375)
@@ -2288,7 +2288,7 @@
 	if (data->data == NULL
 	    || data->length < MSG_FILE_RENAMED_MIN_SIZE + 2) {
                 DEBUG(0, ("msg_file_was_renamed: Got invalid msg len %d\n",
-			  data->length));
+			  (int)data->length));
                 return;
         }
 

Modified: branches/SAMBA_3_0_26/source/smbd/open.c
===================================================================
--- branches/SAMBA_3_0_26/source/smbd/open.c	2007-06-07 06:08:10 UTC (rev 23374)
+++ branches/SAMBA_3_0_26/source/smbd/open.c	2007-06-07 07:49:43 UTC (rev 23375)
@@ -2292,7 +2292,7 @@
 	if (data->data == NULL
 	    || data->length < MSG_FILE_RENAMED_MIN_SIZE + 2) {
                 DEBUG(0, ("msg_file_was_renamed: Got invalid msg len %d\n",
-			  data->length));
+			  (int)data->length));
                 return;
         }
 



More information about the samba-cvs mailing list