Commit 0128b10a authored by Alexandre Julliard's avatar Alexandre Julliard

user32: Avoid a pointer cast in a trace.

parent bb283bf5
...@@ -768,8 +768,8 @@ HWND16 WINAPI CreateDialogParam16( HINSTANCE16 hInst, LPCSTR dlgTemplate, ...@@ -768,8 +768,8 @@ HWND16 WINAPI CreateDialogParam16( HINSTANCE16 hInst, LPCSTR dlgTemplate,
HGLOBAL16 hmem; HGLOBAL16 hmem;
LPCVOID data; LPCVOID data;
TRACE("%04x,%s,%04x,%08x,%ld\n", TRACE("%04x,%s,%04x,%p,%ld\n",
hInst, debugstr_a(dlgTemplate), owner, (DWORD)dlgProc, param ); hInst, debugstr_a(dlgTemplate), owner, dlgProc, param );
if (!(hRsrc = FindResource16( hInst, dlgTemplate, (LPSTR)RT_DIALOG ))) return 0; if (!(hRsrc = FindResource16( hInst, dlgTemplate, (LPSTR)RT_DIALOG ))) return 0;
if (!(hmem = LoadResource16( hInst, hRsrc ))) return 0; if (!(hmem = LoadResource16( hInst, hRsrc ))) return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment