svn commit: samba r9876 - in branches/SAMBA_4_0/source/torture/raw:
.
tpot at samba.org
tpot at samba.org
Thu Sep 1 06:39:20 GMT 2005
Author: tpot
Date: 2005-09-01 06:39:19 +0000 (Thu, 01 Sep 2005)
New Revision: 9876
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9876
Log:
Fix some 64-bit warnings for Itanium machine.
Modified:
branches/SAMBA_4_0/source/torture/raw/read.c
branches/SAMBA_4_0/source/torture/raw/search.c
Changeset:
Modified: branches/SAMBA_4_0/source/torture/raw/read.c
===================================================================
--- branches/SAMBA_4_0/source/torture/raw/read.c 2005-09-01 06:28:17 UTC (rev 9875)
+++ branches/SAMBA_4_0/source/torture/raw/read.c 2005-09-01 06:39:19 UTC (rev 9876)
@@ -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)
Modified: branches/SAMBA_4_0/source/torture/raw/search.c
===================================================================
--- branches/SAMBA_4_0/source/torture/raw/search.c 2005-09-01 06:28:17 UTC (rev 9875)
+++ branches/SAMBA_4_0/source/torture/raw/search.c 2005-09-01 06:39:19 UTC (rev 9876)
@@ -547,8 +547,8 @@
#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)
More information about the samba-cvs
mailing list