git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb8634b
)
fixed a warning
author
Andrew Tridgell
<tridge@samba.org>
Mon, 2 Jun 2008 01:02:37 +0000
(11:02 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Mon, 2 Jun 2008 01:02:37 +0000
(11:02 +1000)
(This used to be commit
7a8ee50105265a4da1f2b89144094f2269c6b119
)
source4/lib/torture/torture.h
patch
|
blob
|
history
diff --git
a/source4/lib/torture/torture.h
b/source4/lib/torture/torture.h
index 15b04c23974c25edc7a5f4f729fc5ee800233498..f023f319ffe0c3802670e6fce256d27fdb55e101 100644
(file)
--- 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)