From: Giannis Adamopoulos Date: Tue, 17 Jan 2017 19:24:29 +0000 (+0000) Subject: [KERNEL32_APITEST] -Fix gcc build X-Git-Tag: ReactOS-0.4.4-FOSDEM2017~8^2~28 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=74365d512d941fd2c16e22fbc06d63e52f4a79b2 [KERNEL32_APITEST] -Fix gcc build svn path=/trunk/; revision=73571 --- diff --git a/rostests/apitests/kernel32/DefaultActCtx.c b/rostests/apitests/kernel32/DefaultActCtx.c index 17732cf1929..995fa71e63c 100644 --- a/rostests/apitests/kernel32/DefaultActCtx.c +++ b/rostests/apitests/kernel32/DefaultActCtx.c @@ -106,7 +106,7 @@ START_TEST(DefaultActCtx) &KeyedData); ok(res == TRUE, "\n"); ok(KeyedData.hActCtx == NULL, "Expected null handle for common control context\n"); - ok(KeyedData.ulAssemblyRosterIndex != 0, "%d\n", KeyedData.ulAssemblyRosterIndex); + ok(KeyedData.ulAssemblyRosterIndex != 0, "%lu\n", KeyedData.ulAssemblyRosterIndex); //ok(wcsstr(details-> , L"SystemCompative" } diff --git a/rostests/apitests/kernel32/LoadLibraryExW.c b/rostests/apitests/kernel32/LoadLibraryExW.c index 59fc266f28d..2e8d6a114fe 100644 --- a/rostests/apitests/kernel32/LoadLibraryExW.c +++ b/rostests/apitests/kernel32/LoadLibraryExW.c @@ -34,7 +34,7 @@ VOID _TestVesion(HANDLE dll, DWORD ExpectedVersion, int line) { LPGETVERSION proc = (LPGETVERSION)GetProcAddress(dll, "GetVersion"); DWORD version = proc(); - ok_(__FILE__, line)(version == ExpectedVersion, "Got version %d, expected %d\n", version, ExpectedVersion); + ok_(__FILE__, line)(version == ExpectedVersion, "Got version %lu, expected %lu\n", version, ExpectedVersion); } VOID TestDllRedirection()