comcat/tests: Win64 printf format warning fixes.
Michael Stefaniuc
mstefani at redhat.de
Thu Oct 5 15:06:10 CDT 2006
---
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);
--
1.4.2.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061005/8fce29ff/attachment.pgp
More information about the wine-patches
mailing list