1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

r9876: Fix some 64-bit warnings for Itanium machine.

(This used to be commit 9e375d82e8)
This commit is contained in:
Tim Potter 2005-09-01 06:39:19 +00:00 committed by Gerald (Jerry) Carter
parent cf9b91668a
commit 9a56cb39b3
2 changed files with 4 additions and 4 deletions

View File

@ -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)

View File

@ -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)