fixed a warning
authorAndrew Tridgell <tridge@samba.org>
Mon, 2 Jun 2008 01:02:37 +0000 (11:02 +1000)
committerAndrew 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

index 15b04c23974c25edc7a5f4f729fc5ee800233498..f023f319ffe0c3802670e6fce256d27fdb55e101 100644 (file)
@@ -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)