mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 09:59:44 +00:00
[CMAKE]
Fix warnings by casting values explicitly to int in wine/test.h svn path=/branches/cmake-bringup/; revision=50433
This commit is contained in:
parent
eb1dd36ba2
commit
7d0de33986
|
@ -440,13 +440,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 int)exit_code );
|
||||
InterlockedIncrement( &failures );
|
||||
}
|
||||
else
|
||||
{
|
||||
fprintf( stdout, "%s: %u failures in child process\n",
|
||||
current_test->name, exit_code );
|
||||
current_test->name, (unsigned int)exit_code );
|
||||
while (exit_code-- > 0)
|
||||
InterlockedIncrement(&failures);
|
||||
}
|
||||
|
@ -558,8 +558,8 @@ static int run_test( const char *name )
|
|||
if (winetest_debug)
|
||||
{
|
||||
fprintf( stdout, "%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 );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue