Michael Stefaniuc : comcat/tests: Win64 printf format warning fixes.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Oct 6 06:24:58 CDT 2006


Module: wine
Branch: master
Commit: 860d40b1e879b3c93d88b3cbe8da32e40780c39c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=860d40b1e879b3c93d88b3cbe8da32e40780c39c

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Thu Oct  5 22:06:10 2006 +0200

comcat/tests: Win64 printf format warning fixes.

---

 dlls/comcat/tests/Makefile.in |    1 -
 dlls/comcat/tests/comcat.c    |    6 +++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/dlls/comcat/tests/Makefile.in b/dlls/comcat/tests/Makefile.in
index b5d1595..c0e5b0c 100644
--- a/dlls/comcat/tests/Makefile.in
+++ b/dlls/comcat/tests/Makefile.in
@@ -5,7 +5,6 @@ VPATH     = @srcdir@
 TESTDLL   = comcat.dll
 IMPORTS   = ole32 advapi32 kernel32
 EXTRALIBS = -luuid
-EXTRADEFS = -DWINE_NO_LONG_AS_INT
 
 CTESTS = \
 	comcat.c
diff --git a/dlls/comcat/tests/comcat.c b/dlls/comcat/tests/comcat.c
index c9952e9..798d22c 100644
--- a/dlls/comcat/tests/comcat.c
+++ b/dlls/comcat/tests/comcat.c
@@ -28,7 +28,7 @@ #include "comcat.h"
 
 #include "wine/test.h"
 
-#define ok_ole_success(hr, func) ok(hr == S_OK, func " failed with error 0x%08lx \n", hr)
+#define ok_ole_success(hr, func) ok(hr == S_OK, func " failed with error 0x%08x \n", hr)
 
 static void register_testentry(void)
 {
@@ -103,7 +103,7 @@ static void do_enum(void)
 	ok_ole_success(hr,"ICatInformation_EnumClassesOfCategories");
 
 	hr = IEnumGUID_Next(pIEnum,1,the_guid, &fetched);
-	ok (fetched == 0,"Fetched wrong number of guids %lu\n",fetched);
+	ok (fetched == 0,"Fetched wrong number of guids %u\n",fetched);
 	IEnumGUID_Release(pIEnum);
 	
 	register_testentry();
@@ -112,7 +112,7 @@ static void do_enum(void)
 	ok_ole_success(hr,"ICatInformation_EnumClassesOfCategories");
 
 	hr = IEnumGUID_Next(pIEnum,1,the_guid, &fetched);
-	ok (fetched == 1,"Fetched wrong number of guids %lu\n",fetched);
+	ok (fetched == 1,"Fetched wrong number of guids %u\n",fetched);
 	ok (IsEqualGUID(the_guid,&wanted_guid),"Guids do not match\n");
 
 	IEnumGUID_Release(pIEnum);




More information about the wine-cvs mailing list