Another pack4 issue (fwd)

Francois Gouget fgouget at free.fr
Sun Nov 18 12:13:00 CST 2001


Sent on the 15th, got lost without a trace!


---------- Forwarded message ----------
Date: Thu, 15 Nov 2001 17:20:00 -0800 (PST)
From: Francois Gouget <fgouget at free.fr>
To: wine-patches at winehq.com
Subject: Another pack4 issue


   After the recent patch sent by Dmitry Timoshkov I checked for other
similar issues. AFAICS, at this time there is only one place where a
pack4 is really necessary.


Changelog:

 * include/rpcndr.h

   MIDL_STUB_MESSAGE needs a pack4 for the MaxCount field


--
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
                     Avoid the Gates of Hell - use Linux.
-------------- next part --------------
Index: include/rpcndr.h
===================================================================
RCS file: /home/wine/wine/include/rpcndr.h,v
retrieving revision 1.2
diff -u -r1.2 rpcndr.h
--- include/rpcndr.h	2001/10/14 16:15:37	1.2
+++ include/rpcndr.h	2001/11/15 23:14:23
@@ -51,6 +51,7 @@
 typedef struct _NDR_ASYNC_MESSAGE *PNDR_ASYNC_MESSAGE;
 typedef struct _NDR_CORRELATION_INFO *PNDR_CORRELATION_INFO;
 
+#include "pshpack4.h"
 typedef struct _MIDL_STUB_MESSAGE
 {
   PRPC_MESSAGE RpcMsg;
@@ -107,6 +108,7 @@
   void *pMemoryList;
   ULONG_PTR w2kReserved[5];
 } MIDL_STUB_MESSAGE, *PMIDL_STUB_MESSAGE;
+#include "poppack.h"
 
 typedef struct _GENERIC_BINDING_ROUTINE_PAIR GENERIC_BINDING_ROUTINE_PAIR, *PGENERIC_BINDING_ROUTINE_PAIR;
 


More information about the wine-patches mailing list