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:
parent
cf9b91668a
commit
9a56cb39b3
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user