svn commit: samba r10257 - in branches/SAMBA_4_0/source/torture/raw: .

tpot at samba.org tpot at samba.org
Fri Sep 16 07:19:37 GMT 2005


Author: tpot
Date: 2005-09-16 07:19:37 +0000 (Fri, 16 Sep 2005)
New Revision: 10257

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

Log:
strlen returns a size_t which can be 64 bits long.

Modified:
   branches/SAMBA_4_0/source/torture/raw/streams.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/raw/streams.c
===================================================================
--- branches/SAMBA_4_0/source/torture/raw/streams.c	2005-09-16 07:15:40 UTC (rev 10256)
+++ branches/SAMBA_4_0/source/torture/raw/streams.c	2005-09-16 07:19:37 UTC (rev 10257)
@@ -76,8 +76,8 @@
 	
 	ret = smbcli_read(cli->tree, fnum, buf, 0, strlen(value)+11);
 	if (ret != strlen(value)) {
-		printf("Failed to read %d bytes from stream '%s' - got %d\n",
-		       strlen(value), full_name, (int)ret);
+		printf("Failed to read %lu bytes from stream '%s' - got %d\n",
+		       (long)strlen(value), full_name, (int)ret);
 		return False;
 	}
 



More information about the samba-cvs mailing list