Module: wine Branch: master Commit: d5ecc2d07719b483987f10afdb182ca9d0e53659 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d5ecc2d07719b483987f10afdb...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Aug 18 16:54:23 2009 +0200
msvideo: Fix packing of the thunk structure.
---
dlls/msvideo.dll16/msvideo16.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/msvideo.dll16/msvideo16.c b/dlls/msvideo.dll16/msvideo16.c index a48a613..faa8e62 100644 --- a/dlls/msvideo.dll16/msvideo16.c +++ b/dlls/msvideo.dll16/msvideo16.c @@ -702,6 +702,7 @@ static LRESULT CALLBACK IC_Callback3216(DWORD pfn16, HIC hic, HDRVR hdrv, UINT
#define MAX_THUNKS 32
+#include "pshpack1.h" static struct msvideo_thunk { BYTE popl_eax; /* popl %eax (return address) */ @@ -712,6 +713,7 @@ static struct msvideo_thunk DWORD callback; HIC16 hIC16; /* driver's handle */ } *MSVIDEO_Thunks; +#include "poppack.h"
static CRITICAL_SECTION msvideo_cs; static CRITICAL_SECTION_DEBUG critsect_debug =