[MPlayer-cvslog] r23056 - trunk/vidix/pm2_vid.c

ben subversion at mplayerhq.hu
Sat Apr 21 14:00:41 CEST 2007


Author: ben
Date: Sat Apr 21 14:00:41 2007
New Revision: 23056

Modified:
   trunk/vidix/pm2_vid.c

Log:
u_char is broken under mingw, use unsigned char instead, fix by aurel

Modified: trunk/vidix/pm2_vid.c
==============================================================================
--- trunk/vidix/pm2_vid.c	(original)
+++ trunk/vidix/pm2_vid.c	Sat Apr 21 14:00:41 2007
@@ -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)
 



More information about the MPlayer-cvslog mailing list