[KERNEL32_APITEST] -Fix gcc build
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Tue, 17 Jan 2017 19:24:29 +0000 (19:24 +0000)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Tue, 17 Jan 2017 19:24:29 +0000 (19:24 +0000)
svn path=/trunk/; revision=73571

rostests/apitests/kernel32/DefaultActCtx.c
rostests/apitests/kernel32/LoadLibraryExW.c

index 17732cf..995fa71 100644 (file)
@@ -106,7 +106,7 @@ START_TEST(DefaultActCtx)
                                    &KeyedData);
     ok(res == TRUE, "\n");
     ok(KeyedData.hActCtx == NULL, "Expected null handle for common control context\n");
                                    &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"
     
 }
     //ok(wcsstr(details-> , L"SystemCompative"
     
 }
index 59fc266..2e8d6a1 100644 (file)
@@ -34,7 +34,7 @@ VOID _TestVesion(HANDLE dll, DWORD ExpectedVersion, int line)
 {
     LPGETVERSION proc = (LPGETVERSION)GetProcAddress(dll, "GetVersion");
     DWORD version = proc();
 {
     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()
 }
 
 VOID TestDllRedirection()