summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/raw/read.c4
-rw-r--r--source4/torture/raw/search.c4
2 files changed, 4 insertions, 4 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)
diff --git a/source4/torture/raw/search.c b/source4/torture/raw/search.c
index 96ceaf0a02..88fb0af581 100644
--- a/source4/torture/raw/search.c
+++ b/source4/torture/raw/search.c
@@ -547,8 +547,8 @@ static NTSTATUS multiple_search(struct smbcli_state *cli,
#define CHECK_VALUE(v, correct) do { \
if ((v) != (correct)) { \
- printf("(%s) Incorrect value %s=%d - should be %d\n", \
- __location__, #v, v, (int)correct); \
+ printf("(%s) Incorrect value %s=%ld - should be %ld\n", \
+ __location__, #v, (long)v, (long)correct); \
ret = False; \
goto done; \
}} while (0)