use "%p" to DPRINT a pointer instead of casting it to int and using "%08x"

svn path=/trunk/; revision=33455
This commit is contained in:
Timo Kreuzer 2008-05-11 22:28:20 +00:00
parent 8c2db2fee0
commit c6aa16c16a

View file

@ -294,7 +294,7 @@ static BOOL TryToTranslateChar(WORD wVirtKey,
if( vkPtr->VirtualKey != 0xff ) if( vkPtr->VirtualKey != 0xff )
{ {
DPRINT( "Found dead key with no trailer in the table.\n" ); 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; return FALSE;
} }
*pwcTranslatedChar = vkPtr->wch[CapsMod]; *pwcTranslatedChar = vkPtr->wch[CapsMod];