include: Change mapi.h to use ULONG for Win64 compatibility.
Michael Stefaniuc
mstefani at redhat.de
Mon Jan 5 17:09:23 CST 2009
---
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;
#endif
#define lhSessionNull ((LHANDLE)0)
#ifndef WINE_FLAGS_DEFINED
#define WINE_FLAGS_DEFINED
-typedef unsigned long FLAGS;
+typedef ULONG FLAGS;
#endif
-typedef unsigned long* LPULONG;
+typedef ULONG *LPULONG;
typedef struct
{
--
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/9be4d34c/attachment.pgp
More information about the wine-patches
mailing list