Michael Stefaniuc : include: Change mapi. h to use ULONG for Win64 compatibility.

Alexandre Julliard julliard at winehq.org
Tue Jan 6 08:23:01 CST 2009

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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Tue Jan  6 00:09:23 2009 +0100

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


 dlls/mapi32/sendmail.c |    2 +-
 include/mapi.h         |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/mapi32/sendmail.c b/dlls/mapi32/sendmail.c
index 4103117..7b8de66 100644
--- a/dlls/mapi32/sendmail.c
+++ b/dlls/mapi32/sendmail.c
@@ -71,7 +71,7 @@ ULONG WINAPI MAPISendMail( LHANDLE session, ULONG_PTR uiparam,
     HRESULT res;
     DWORD size;
-    TRACE( "(0x%08lx 0x%08lx %p 0x%08lx 0x%08x)\n", session, uiparam,
+    TRACE( "(0x%08x 0x%08lx %p 0x%08x 0x%08x)\n", session, uiparam,
            message, flags, reserved );
     if (!message) return MAPI_E_FAILURE;
diff --git a/include/mapi.h b/include/mapi.h
index f8695f3..2d335ea 100644
--- a/include/mapi.h
+++ b/include/mapi.h
@@ -27,15 +27,15 @@ extern "C" {
 #ifndef __LHANDLE
 #define __LHANDLE
-typedef unsigned long           LHANDLE, *LPLHANDLE;
+typedef ULONG                   LHANDLE, *LPLHANDLE;
 #define lhSessionNull           ((LHANDLE)0)
-typedef unsigned long           FLAGS;
+typedef ULONG                   FLAGS;
-typedef unsigned long*          LPULONG;
+typedef ULONG                  *LPULONG;
 typedef struct

More information about the wine-cvs mailing list