diff options
author | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-04-21 12:00:41 +0000 |
---|---|---|
committer | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-04-21 12:00:41 +0000 |
commit | 9a2e3aaff7f8e907efd75c8b91272699774a8733 (patch) | |
tree | 8206a613245a661f27d887f7d4a60661d2c65eef | |
parent | 911503efe6368419c25ac4833427a9c3f0b72143 (diff) |
u_char is broken under mingw, use unsigned char instead, fix by aurel
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23056 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | vidix/pm2_vid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vidix/pm2_vid.c b/vidix/pm2_vid.c index ffaa36c1d2..a00b1a5cc4 100644 --- a/vidix/pm2_vid.c +++ b/vidix/pm2_vid.c @@ -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) |