Michael Stefaniuc : hhctrl.ocx: Win64 printf format warning fixes.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Oct 4 04:24:54 CDT 2006


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Tue Oct  3 23:38:59 2006 +0200

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 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)
     {




More information about the wine-cvs mailing list