summaryrefslogtreecommitdiffstats
path: root/vidix
diff options
context:
space:
mode:
Diffstat (limited to 'vidix')
-rw-r--r--vidix/pm2_vid.c2
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)