From d5ecc2d07719b483987f10afdb182ca9d0e53659 Mon Sep 17 00:00:00 2001
From: Alexandre Julliard <julliard@winehq.org>
Date: Tue, 18 Aug 2009 16:54:23 +0200
Subject: [PATCH] msvideo: Fix packing of the thunk structure.

---
 dlls/msvideo.dll16/msvideo16.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/msvideo.dll16/msvideo16.c b/dlls/msvideo.dll16/msvideo16.c
index a48a613c254..faa8e628201 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 =
-- 
GitLab