From 74365d512d941fd2c16e22fbc06d63e52f4a79b2 Mon Sep 17 00:00:00 2001 From: Giannis Adamopoulos Date: Tue, 17 Jan 2017 19:24:29 +0000 Subject: [PATCH 1/1] [KERNEL32_APITEST] -Fix gcc build svn path=/trunk/; revision=73571 --- rostests/apitests/kernel32/DefaultActCtx.c | 2 +- rostests/apitests/kernel32/LoadLibraryExW.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() -- 2.17.1