changeset 23038:9525b6aac600

u_char is broken under mingw, use unsigned char instead, fix by aurel
author ben
date Sat, 21 Apr 2007 12:00:41 +0000
parents c2c2bc418257
children d5e23946d776
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 11:59:30 2007 +0000
+++ b/vidix/pm2_vid.c	Sat Apr 21 12:00:41 2007 +0000
@@ -48,7 +48,7 @@
 #endif
 
 #define WRITE_REG(offset,val)						\
-    *(volatile u_long *)(((u_char *)(pm2_reg_base)) + offset) = (val)
+    *(volatile u_long *)(((unsigned char *)(pm2_reg_base)) + offset) = (val)
 #define READ_REG(offset)						    \
     *(volatile unsigned long *)(((unsigned char *)(pm2_reg_base)) + offset)