changeset 23040:c1105d1f4b7f

fix for mingw: u_long becomes unsigned long
author ben
date Sat, 21 Apr 2007 12:04:49 +0000
parents d5e23946d776
children 8e1d5a17fff6
files vidix/pm2_vid.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vidix/pm2_vid.c	Sat Apr 21 12:03:41 2007 +0000
+++ b/vidix/pm2_vid.c	Sat Apr 21 12:04:49 2007 +0000
@@ -48,7 +48,7 @@
 #endif
 
 #define WRITE_REG(offset,val)						\
-    *(volatile u_long *)(((unsigned char *)(pm2_reg_base)) + offset) = (val)
+    *(volatile unsigned long *)(((unsigned char *)(pm2_reg_base)) + offset) = (val)
 #define READ_REG(offset)						    \
     *(volatile unsigned long *)(((unsigned char *)(pm2_reg_base)) + offset)