Author: akhaldi
Date: Fri Mar 15 15:47:39 2013
New Revision: 58506
URL:
http://svn.reactos.org/svn/reactos?rev=58506&view=rev
Log:
[WINMINE]
* Fix some format specifiers.
Modified:
trunk/reactos/base/applications/games/winmine/main.c
Modified: trunk/reactos/base/applications/games/winmine/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/wi…
==============================================================================
--- trunk/reactos/base/applications/games/winmine/main.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/games/winmine/main.c [iso-8859-1] Fri Mar 15 15:47:39
2013
@@ -108,7 +108,7 @@
p_board->IsMarkQ = TRUE;
for( i = 0; i < 3; i++ ) {
- wsprintf( key_name, "Name%d", i+1 );
+ wsprintf( key_name, "Name%u", i+1 );
size = sizeof( data );
if( RegQueryValueEx( hkey, key_name, NULL, &type,
(LPBYTE) data, &size ) == ERROR_SUCCESS )
@@ -118,7 +118,7 @@
}
for( i = 0; i < 3; i++ ) {
- wsprintf( key_name, "Time%d", i+1 );
+ wsprintf( key_name, "Time%u", i+1 );
size = sizeof( p_board->best_time[i] );
if( !RegQueryValueEx( hkey, key_name, NULL, &type,
(LPBYTE) &p_board->best_time[i], &size ) == ERROR_SUCCESS )