[WINE]
authorThomas Faber <thomas.faber@reactos.org>
Sun, 18 Oct 2015 10:51:47 +0000 (10:51 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 18 Oct 2015 10:51:47 +0000 (10:51 +0000)
- Make some test.h functions usable in apitests aka fix build

svn path=/trunk/; revision=69594

reactos/include/reactos/wine/test.h

index 38c8496..cbe394d 100644 (file)
@@ -493,13 +493,13 @@ void winetest_wait_child_process( HANDLE process )
     {
         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 @@ static int run_test( const char *name )
     /*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;