summaryrefslogtreecommitdiff
path: root/source4/lib/torture
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-06-02 11:02:37 +1000
committerAndrew Tridgell <tridge@samba.org>2008-06-02 11:02:37 +1000
commit9835b4fde17526e18237f7adfa935f13cd5eb0a7 (patch)
treeb3d074af126a81a07470a8a4b6c7723a78648155 /source4/lib/torture
parenteb8634b2f02bb0134435a964bb9687f0de32b349 (diff)
downloadsamba-9835b4fde17526e18237f7adfa935f13cd5eb0a7.tar.gz
samba-9835b4fde17526e18237f7adfa935f13cd5eb0a7.tar.bz2
samba-9835b4fde17526e18237f7adfa935f13cd5eb0a7.zip
fixed a warning
(This used to be commit 7a8ee50105265a4da1f2b89144094f2269c6b119)
Diffstat (limited to 'source4/lib/torture')
-rw-r--r--source4/lib/torture/torture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/torture/torture.h b/source4/lib/torture/torture.h
index 15b04c2397..f023f319ff 100644
--- a/source4/lib/torture/torture.h
+++ b/source4/lib/torture/torture.h
@@ -257,7 +257,7 @@ void torture_result(struct torture_context *test,
do { const void *__got = (got), *__expected = (expected); \
if (memcmp(__got, __expected, len) != 0) { \
torture_result(torture_ctx, TORTURE_FAIL, \
- __location__": "#got" of len %d did not match"#expected": %s", len, cmt); \
+ __location__": "#got" of len %d did not match"#expected": %s", (int)len, cmt); \
return false; \
} \
} while(0)