dslinux/user/microwin/src/mwin/bmp convbmp.c

pepsiman dslinux_pepsiman at user.in-berlin.de
Fri Sep 8 22:51:43 CEST 2006

Update of /cvsroot/dslinux/dslinux/user/microwin/src/mwin/bmp
In directory antilope:/tmp/cvs-serv22471

Modified Files:
Log Message:
Fix build of nxkbd on an AMD64 host computer.
On an AMD64, sizeof(long)==8.
This code expected sizeof(long)==4.

Index: convbmp.c
RCS file: /cvsroot/dslinux/dslinux/user/microwin/src/mwin/bmp/convbmp.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- convbmp.c	10 Apr 2006 07:29:12 -0000	1.2
+++ convbmp.c	8 Sep 2006 20:51:41 -0000	1.3
@@ -29,8 +29,8 @@
 #if !_MINIX
 typedef unsigned short	WORD;
-typedef unsigned long	DWORD;
-typedef long		LONG;
+typedef unsigned int	DWORD;
+typedef int		LONG;
 #define	CASTWORD
 #define	CASTDWORD
 #define	CASTLONG

More information about the dslinux-commit mailing list