changeset 3536:633a8d6e40dc

workaround for Alpha - by Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
author arpi
date Sun, 16 Dec 2001 21:52:41 +0000
parents 975672407ef6
children d7e5a32643c9
files loader/wine/vfw.h loader/wine/windef.h
diffstat 2 files changed, 11 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/loader/wine/vfw.h	Sun Dec 16 21:41:43 2001 +0000
+++ b/loader/wine/vfw.h	Sun Dec 16 21:52:41 2001 +0000
@@ -19,17 +19,17 @@
 #define _BITMAPINFOHEADER_
 typedef struct __attribute__((__packed__))
 {
-    long 	biSize;
-    long  	biWidth;
-    long  	biHeight;
+    int 	biSize;
+    int  	biWidth;
+    int  	biHeight;
     short 	biPlanes;
     short 	biBitCount;
-    long 	biCompression;
-    long 	biSizeImage;
-    long  	biXPelsPerMeter;
-    long  	biYPelsPerMeter;
-    long 	biClrUsed;
-    long 	biClrImportant;
+    int 	biCompression;
+    int 	biSizeImage;
+    int  	biXPelsPerMeter;
+    int  	biYPelsPerMeter;
+    int 	biClrUsed;
+    int 	biClrImportant;
 } BITMAPINFOHEADER, *PBITMAPINFOHEADER, *LPBITMAPINFOHEADER;
 typedef struct {
 	BITMAPINFOHEADER bmiHeader;
--- a/loader/wine/windef.h	Sun Dec 16 21:41:43 2001 +0000
+++ b/loader/wine/windef.h	Sun Dec 16 21:52:41 2001 +0000
@@ -150,8 +150,8 @@
 typedef int             INT;
 typedef unsigned int    UINT;
 typedef unsigned short  WORD;
-typedef unsigned long   DWORD;
-typedef unsigned long   ULONG;
+typedef unsigned int    DWORD;
+typedef unsigned int    ULONG;
 typedef unsigned char   BYTE;
 typedef long            LONG;
 typedef short           SHORT;