Alexandre Julliard : ntdll: Fix the LPC_MESSAGE structure definition for 64-bit.
Alexandre Julliard
julliard at winehq.org
Thu May 7 09:25:38 CDT 2009
Module: wine
Branch: master
Commit: 82fb611806b37be7959723670889835e1b9d554f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=82fb611806b37be7959723670889835e1b9d554f
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu May 7 13:42:39 2009 +0200
ntdll: Fix the LPC_MESSAGE structure definition for 64-bit.
---
dlls/ntdll/nt.c | 4 ++--
dlls/ntdll/tests/port.c | 4 ++--
include/winternl.h | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c
index 8ffa9e0..58320c3 100644
--- a/dlls/ntdll/nt.c
+++ b/dlls/ntdll/nt.c
@@ -691,8 +691,8 @@ NTSTATUS WINAPI NtRequestWaitReplyPort(
TRACE("\tVirtualRangesOffset = %u\n",pLpcMessageIn->VirtualRangesOffset);
TRACE("\tClientId.UniqueProcess = %p\n",pLpcMessageIn->ClientId.UniqueProcess);
TRACE("\tClientId.UniqueThread = %p\n",pLpcMessageIn->ClientId.UniqueThread);
- TRACE("\tMessageId = %u\n",pLpcMessageIn->MessageId);
- TRACE("\tSectionSize = %u\n",pLpcMessageIn->SectionSize);
+ TRACE("\tMessageId = %lu\n",pLpcMessageIn->MessageId);
+ TRACE("\tSectionSize = %lu\n",pLpcMessageIn->SectionSize);
TRACE("\tData = %s\n",
debugstr_an((const char*)pLpcMessageIn->Data,pLpcMessageIn->DataSize));
}
diff --git a/dlls/ntdll/tests/port.c b/dlls/ntdll/tests/port.c
index 51707e3..0795b4c 100644
--- a/dlls/ntdll/tests/port.c
+++ b/dlls/ntdll/tests/port.c
@@ -62,8 +62,8 @@ typedef struct _LPC_MESSAGE
USHORT MessageType;
USHORT VirtualRangesOffset;
CLIENT_ID ClientId;
- ULONG MessageId;
- ULONG SectionSize;
+ ULONG_PTR MessageId;
+ ULONG_PTR SectionSize;
UCHAR Data[ANYSIZE_ARRAY];
} LPC_MESSAGE, *PLPC_MESSAGE;
diff --git a/include/winternl.h b/include/winternl.h
index 5ebbca5..b06a10c 100644
--- a/include/winternl.h
+++ b/include/winternl.h
@@ -1803,8 +1803,8 @@ typedef struct _LPC_MESSAGE {
USHORT MessageType;
USHORT VirtualRangesOffset;
CLIENT_ID ClientId;
- ULONG MessageId;
- ULONG SectionSize;
+ ULONG_PTR MessageId;
+ ULONG_PTR SectionSize;
UCHAR Data[ANYSIZE_ARRAY];
} LPC_MESSAGE, *PLPC_MESSAGE;
More information about the wine-cvs
mailing list