From 84473e5bfc27c1d8dd5da06ee02c1552ea6cad80 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Tue, 3 Oct 2006 23:38:59 +0200 Subject: [PATCH] hhctrl.ocx: Win64 printf format warning fixes. --- dlls/hhctrl.ocx/Makefile.in | 1 - dlls/hhctrl.ocx/hhctrl.c | 2 +- dlls/hhctrl.ocx/main.c | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dlls/hhctrl.ocx/Makefile.in b/dlls/hhctrl.ocx/Makefile.in index a4759ce4412..d3dca8f47f2 100644 --- a/dlls/hhctrl.ocx/Makefile.in +++ b/dlls/hhctrl.ocx/Makefile.in @@ -5,7 +5,6 @@ VPATH = @srcdir@ MODULE = hhctrl.ocx IMPORTS = advapi32 comctl32 shell32 ole32 oleaut32 user32 gdi32 kernel32 EXTRALIBS = -luuid -EXTRADEFS = -DWINE_NO_LONG_AS_INT C_SRCS = \ chm.c \ diff --git a/dlls/hhctrl.ocx/hhctrl.c b/dlls/hhctrl.ocx/hhctrl.c index 7f64d4c08e9..be9f597921a 100644 --- a/dlls/hhctrl.ocx/hhctrl.c +++ b/dlls/hhctrl.ocx/hhctrl.c @@ -76,7 +76,7 @@ HWND WINAPI HtmlHelpW(HWND caller, LPCWSTR filename, UINT command, DWORD data) { CHAR *file = NULL; - TRACE("(%p, %s, command=%s, data=%ld)\n", + TRACE("(%p, %s, command=%s, data=%d)\n", caller, debugstr_w( filename ), command_to_string( command ), data); diff --git a/dlls/hhctrl.ocx/main.c b/dlls/hhctrl.ocx/main.c index e8a85480378..1faf1d017e0 100644 --- a/dlls/hhctrl.ocx/main.c +++ b/dlls/hhctrl.ocx/main.c @@ -30,7 +30,7 @@ HINSTANCE hhctrl_hinstance; BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD fdwReason, LPVOID lpvReserved) { - TRACE("(%p,%ld,%p)\n", hInstance, fdwReason, lpvReserved); + TRACE("(%p,%d,%p)\n", hInstance, fdwReason, lpvReserved); switch (fdwReason) {