[ros-diffs] [tkreuzer] 33455: use "%p" to DPRINT a pointer instead of casting it to int and using "%08x"
tkreuzer at svn.reactos.org
tkreuzer at svn.reactos.org
Mon May 12 00:28:21 CEST 2008
Author: tkreuzer
Date: Sun May 11 17:28:20 2008
New Revision: 33455
URL: http://svn.reactos.org/svn/reactos?rev=33455&view=rev
Log:
use "%p" to DPRINT a pointer instead of casting it to int and using "%08x"
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/keyboard.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/keyboard.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntuser/keyboard.c?rev=33455&r1=33454&r2=33455&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/keyboard.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/keyboard.c [iso-8859-1] Sun May 11 17:28:20 2008
@@ -294,7 +294,7 @@
if( vkPtr->VirtualKey != 0xff )
{
DPRINT( "Found dead key with no trailer in the table.\n" );
- DPRINT( "VK: %04x, ADDR: %08x\n", wVirtKey, (int)vkPtr );
+ DPRINT( "VK: %04x, ADDR: %p\n", wVirtKey, vkPtr );
return FALSE;
}
*pwcTranslatedChar = vkPtr->wch[CapsMod];
More information about the Ros-diffs
mailing list