mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-28 14:29:25 +08:00
fix for mingw: u_long becomes unsigned long
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23058 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user