oleview: Win64 'incompatible pointer type' warning fix.

Michael Stefaniuc mstefani at redhat.de
Mon Oct 2 16:22:01 CDT 2006


---
 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];
-- 
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/20061002/56df0bd6/attachment.pgp


More information about the wine-patches mailing list