diff options
author | Tim Potter <tpot@samba.org> | 2005-09-16 07:19:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:38:12 -0500 |
commit | 8dbeab5cd2ee0e999521790cfff19ea71520f138 (patch) | |
tree | fd41098be0313f3ff9db6e1f380d70755f855e59 | |
parent | 2082695e2e9d04c4a49cf330e9ab9ecff20dbe1f (diff) | |
download | samba-8dbeab5cd2ee0e999521790cfff19ea71520f138.tar.gz samba-8dbeab5cd2ee0e999521790cfff19ea71520f138.tar.bz2 samba-8dbeab5cd2ee0e999521790cfff19ea71520f138.zip |
r10257: strlen returns a size_t which can be 64 bits long.
(This used to be commit 4a4b0537183e16b00a94f0411e423c943d79cba9)
-rw-r--r-- | source4/torture/raw/streams.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/raw/streams.c b/source4/torture/raw/streams.c index 4a77dbfc76..2e80c438b0 100644 --- a/source4/torture/raw/streams.c +++ b/source4/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; } |