git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f1cd63
)
r10257: strlen returns a size_t which can be 64 bits long.
author
Tim Potter
<tpot@samba.org>
Fri, 16 Sep 2005 07:19:37 +0000
(07:19 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:38:12 +0000
(13:38 -0500)
source/torture/raw/streams.c
patch
|
blob
|
history
diff --git
a/source/torture/raw/streams.c
b/source/torture/raw/streams.c
index 4a77dbfc769a121fdf084483db63266051edad4a..2e80c438b09412aa6464fc7b2bddba764357235f 100644
(file)
--- a/
source/torture/raw/streams.c
+++ b/
source/torture/raw/streams.c
@@
-76,8
+76,8
@@
static BOOL check_stream(struct smbcli_state *cli, TALLOC_CTX *mem_ctx,
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;
}