summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-09-01 06:39:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:36:19 -0500
commit9a56cb39b3b0cddceac88f7f20506e952ebb750d (patch)
treed39b9f84a45ae123893f2bc97d6b660ea7c32b1c /source4/torture
parentcf9b91668a6465ba6890a9767e5248dbe66eb74a (diff)
downloadsamba-9a56cb39b3b0cddceac88f7f20506e952ebb750d.tar.gz
samba-9a56cb39b3b0cddceac88f7f20506e952ebb750d.tar.bz2
samba-9a56cb39b3b0cddceac88f7f20506e952ebb750d.zip
r9876: Fix some 64-bit warnings for Itanium machine.
(This used to be commit 9e375d82e828879704442e5a27a9938015953de2)
Diffstat (limited to 'source4/torture')
-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)