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

ben subversion at mplayerhq.hu
Sat Apr 21 14:04:49 CEST 2007


Author: ben
Date: Sat Apr 21 14:04:49 2007
New Revision: 23058

Modified:
   trunk/vidix/pm2_vid.c

Log:
fix for mingw: u_long becomes unsigned long

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



More information about the MPlayer-cvslog mailing list