Michael Stefaniuc : oleview: Win64 'incompatible pointer type' warning fix.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Oct 3 05:18:27 CDT 2006


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Mon Oct  2 23:22:01 2006 +0200

oleview: Win64 'incompatible pointer type' warning fix.

---

 programs/oleview/Makefile.in |    2 +-
 programs/oleview/typelib.c   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/programs/oleview/Makefile.in b/programs/oleview/Makefile.in
index 7049085..3a393a5 100644
--- a/programs/oleview/Makefile.in
+++ b/programs/oleview/Makefile.in
@@ -6,7 +6,7 @@ MODULE    = oleview.exe
 APPMODE   = -mwindows -municode
 IMPORTS   = comdlg32 comctl32 shell32 oleaut32 ole32 user32 advapi32 kernel32
 EXTRALIBS = -luuid
-EXTRADEFS = -DUNICODE -DWINE_NO_LONG_AS_INT
+EXTRADEFS = -DUNICODE
 
 C_SRCS = \
 	details.c \
diff --git a/programs/oleview/typelib.c b/programs/oleview/typelib.c
index 0059f77..35e5fc1 100644
--- a/programs/oleview/typelib.c
+++ b/programs/oleview/typelib.c
@@ -867,7 +867,7 @@ int PopulateTree(void)
     HREFTYPE hRefType;
     TYPEATTR *pTypeAttr;
     INT count, i;
-    unsigned long ulHelpContext;
+    ULONG ulHelpContext;
     BSTR bstrName;
     BSTR bstrData;
     WCHAR wszText[MAX_LOAD_STRING];




More information about the wine-cvs mailing list