hhctrl.ocx: Win64 printf format warning fixes.

Michael Stefaniuc mstefani at redhat.de
Tue Oct 3 16:38:59 CDT 2006


---
 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 a4759ce..d3dca8f 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 7f64d4c..be9f597 100644
--- a/dlls/hhctrl.ocx/hhctrl.c
+++ b/dlls/hhctrl.ocx/hhctrl.c
@@ -76,7 +76,7 @@ HWND WINAPI HtmlHelpW(HWND caller, LPCWS
 {
     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 e8a8548..1faf1d0 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)
     {
-- 
1.4.2.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061003/f2811999/attachment.pgp


More information about the wine-patches mailing list