Alexandre Julliard : user32: Avoid a pointer cast in a trace.

Alexandre Julliard julliard at winehq.org
Thu Jan 8 08:31:06 CST 2009


Module: wine
Branch: master
Commit: 0128b10a3c0304a547d5340f64a750e3bbcf51c8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0128b10a3c0304a547d5340f64a750e3bbcf51c8

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Jan  8 13:13:05 2009 +0100

user32: Avoid a pointer cast in a trace.

---

 dlls/user32/dialog16.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/user32/dialog16.c b/dlls/user32/dialog16.c
index 4fcbef4..e529b2d 100644
--- a/dlls/user32/dialog16.c
+++ b/dlls/user32/dialog16.c
@@ -768,8 +768,8 @@ HWND16 WINAPI CreateDialogParam16( HINSTANCE16 hInst, LPCSTR dlgTemplate,
     HGLOBAL16 hmem;
     LPCVOID data;
 
-    TRACE("%04x,%s,%04x,%08x,%ld\n",
-          hInst, debugstr_a(dlgTemplate), owner, (DWORD)dlgProc, param );
+    TRACE("%04x,%s,%04x,%p,%ld\n",
+          hInst, debugstr_a(dlgTemplate), owner, dlgProc, param );
 
     if (!(hRsrc = FindResource16( hInst, dlgTemplate, (LPSTR)RT_DIALOG ))) return 0;
     if (!(hmem = LoadResource16( hInst, hRsrc ))) return 0;




More information about the wine-cvs mailing list