mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 04:20:56 +00:00
comcat/tests: Win64 printf format warning fixes.
This commit is contained in:
parent
723b884b26
commit
860d40b1e8
|
@ -5,7 +5,6 @@ VPATH = @srcdir@
|
|||
TESTDLL = comcat.dll
|
||||
IMPORTS = ole32 advapi32 kernel32
|
||||
EXTRALIBS = -luuid
|
||||
EXTRADEFS = -DWINE_NO_LONG_AS_INT
|
||||
|
||||
CTESTS = \
|
||||
comcat.c
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
#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);
|
||||
|
|
Loading…
Reference in a new issue