From c6aa16c16acd65dd5bd7dedcb1d2b7b36e37753b Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sun, 11 May 2008 22:28:20 +0000 Subject: [PATCH] use "%p" to DPRINT a pointer instead of casting it to int and using "%08x" svn path=/trunk/; revision=33455 --- reactos/subsystems/win32/win32k/ntuser/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/subsystems/win32/win32k/ntuser/keyboard.c b/reactos/subsystems/win32/win32k/ntuser/keyboard.c index 0620235440e..b81f5295ebd 100644 --- a/reactos/subsystems/win32/win32k/ntuser/keyboard.c +++ b/reactos/subsystems/win32/win32k/ntuser/keyboard.c @@ -294,7 +294,7 @@ static BOOL TryToTranslateChar(WORD wVirtKey, 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];