Author: tkreuzer
Date: Wed Jan 19 13:50:22 2011
New Revision: 50433
URL:
http://svn.reactos.org/svn/reactos?rev=50433&view=rev
Log:
[CMAKE]
Fix warnings by casting values explicitly to int in wine/test.h
Modified:
branches/cmake-bringup/include/reactos/wine/test.h
Modified: branches/cmake-bringup/include/reactos/wine/test.h
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/include/reactos/w…
==============================================================================
--- branches/cmake-bringup/include/reactos/wine/test.h [iso-8859-1] (original)
+++ branches/cmake-bringup/include/reactos/wine/test.h [iso-8859-1] Wed Jan 19 13:50:22
2011
@@ -440,13 +440,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 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 @@
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 );
}