Author: tfaber
Date: Sun Oct 18 10:51:47 2015
New Revision: 69594
URL:
http://svn.reactos.org/svn/reactos?rev=69594&view=rev
Log:
[WINE]
- Make some test.h functions usable in apitests aka fix build
Modified:
trunk/reactos/include/reactos/wine/test.h
Modified: trunk/reactos/include/reactos/wine/test.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/wine/test.…
==============================================================================
--- trunk/reactos/include/reactos/wine/test.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/wine/test.h [iso-8859-1] Sun Oct 18 10:51:47 2015
@@ -493,13 +493,13 @@
{
if (exit_code > 255)
{
- fprintf( stdout, "%s: exception 0x%08x in child process\n",
current_test->name, exit_code );
+ fprintf( stdout, "%s: exception 0x%08x in child process\n",
current_test->name, (unsigned)exit_code );
InterlockedIncrement( &failures );
}
else
{
fprintf( stdout, "%s: %u failures in child process\n",
- current_test->name, exit_code );
+ current_test->name, (unsigned)exit_code );
while (exit_code-- > 0)
InterlockedIncrement(&failures);
}
@@ -630,10 +630,10 @@
/*if (winetest_debug)*/
{
fprintf( stdout, "\n%s: %d tests executed (%d marked as todo, %d %s), %d
skipped.\n",
- test->name, successes + failures + todo_successes + todo_failures,
- todo_successes, failures + todo_failures,
+ test->name, (int)(successes + failures + todo_successes +
todo_failures),
+ (int)todo_successes, (int)(failures + todo_failures),
(failures + todo_failures != 1) ? "failures" :
"failure",
- skipped );
+ (int)skipped );
}
status = (failures + todo_failures < 255) ? failures + todo_failures : 255;
return status;