mirror of https://github.com/mpv-player/mpv
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:
parent
5aebc32966
commit
19aaa01c64
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue