Author: gadamopoulos
Date: Tue Jan 17 19:24:29 2017
New Revision: 73571
URL:
http://svn.reactos.org/svn/reactos?rev=73571&view=rev
Log:
[KERNEL32_APITEST] -Fix gcc build
Modified:
trunk/rostests/apitests/kernel32/DefaultActCtx.c
trunk/rostests/apitests/kernel32/LoadLibraryExW.c
Modified: trunk/rostests/apitests/kernel32/DefaultActCtx.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/kernel32/Default…
==============================================================================
--- trunk/rostests/apitests/kernel32/DefaultActCtx.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/kernel32/DefaultActCtx.c [iso-8859-1] Tue Jan 17 19:24:29
2017
@@ -106,7 +106,7 @@
&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"
}
Modified: trunk/rostests/apitests/kernel32/LoadLibraryExW.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/kernel32/LoadLib…
==============================================================================
--- trunk/rostests/apitests/kernel32/LoadLibraryExW.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/kernel32/LoadLibraryExW.c [iso-8859-1] Tue Jan 17 19:24:29
2017
@@ -34,7 +34,7 @@
{
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()