From 8dbeab5cd2ee0e999521790cfff19ea71520f138 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 16 Sep 2005 07:19:37 +0000 Subject: r10257: strlen returns a size_t which can be 64 bits long. (This used to be commit 4a4b0537183e16b00a94f0411e423c943d79cba9) --- source4/torture/raw/streams.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4') 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; } -- cgit