include: Change mapix.h to use ULONG for Win64 compatibility.

Michael Stefaniuc mstefani at redhat.de
Mon Jan 5 17:09:33 CST 2009


---
 dlls/mapi32/mapi32_main.c |    4 ++--
 include/mapix.h           |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/mapi32/mapi32_main.c b/dlls/mapi32/mapi32_main.c
index 936d435..b9d5888 100644
--- a/dlls/mapi32/mapi32_main.c
+++ b/dlls/mapi32/mapi32_main.c
@@ -89,7 +89,7 @@ HRESULT WINAPI MAPIInitialize(LPVOID init)
 ULONG WINAPI MAPILogon(ULONG_PTR uiparam, LPSTR profile, LPSTR password,
     FLAGS flags, ULONG reserved, LPLHANDLE session)
 {
-    FIXME("(0x%08lx %s %p 0x%08lx 0x%08x %p) Stub\n", uiparam,
+    FIXME("(0x%08lx %s %p 0x%08x 0x%08x %p) Stub\n", uiparam,
           debugstr_a(profile), password, flags, reserved, session);
 
     if (session) *session = 1;
@@ -99,7 +99,7 @@ ULONG WINAPI MAPILogon(ULONG_PTR uiparam, LPSTR profile, LPSTR password,
 ULONG WINAPI MAPILogoff(LHANDLE session, ULONG_PTR uiparam, FLAGS flags,
     ULONG reserved )
 {
-    FIXME("(0x%08lx 0x%08lx 0x%08lx 0x%08x) Stub\n", session,
+    FIXME("(0x%08lx 0x%08lx 0x%08x 0x%08x) Stub\n", session,
           uiparam, flags, reserved);
     return SUCCESS_SUCCESS;
 }
diff --git a/include/mapix.h b/include/mapix.h
index 1ca7aaf..04e7eb1 100644
--- a/include/mapix.h
+++ b/include/mapix.h
@@ -36,7 +36,7 @@ typedef struct IMAPISession *LPMAPISESSION;
 
 #ifndef WINE_FLAGS_DEFINED
 #define WINE_FLAGS_DEFINED
-typedef unsigned long           FLAGS;
+typedef ULONG                   FLAGS;
 #endif
 
 /* Flags for MAPILogon and MAPILogonEx */
-- 
1.6.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/20090106/fa910966/attachment.pgp 


More information about the wine-patches mailing list