summaryrefslogtreecommitdiff
path: root/source4/torture/raw/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/raw/read.c')
-rw-r--r--source4/torture/raw/read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/raw/read.c b/source4/torture/raw/read.c
index 3e27f4b0bb..d7060ee2c0 100644
--- a/source4/torture/raw/read.c
+++ b/source4/torture/raw/read.c
@@ -33,8 +33,8 @@
#define CHECK_VALUE(v, correct) do { \
if ((v) != (correct)) { \
- printf("(%s) Incorrect value %s=%d - should be %d\n", \
- __location__, #v, v, correct); \
+ printf("(%s) Incorrect value %s=%ld - should be %ld\n", \
+ __location__, #v, (long)v, (long)correct); \
ret = False; \
goto done; \
}} while (0)