diff options
Diffstat (limited to 'vidix/pm2_vid.c')
-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 a00b1a5cc4..aef5083334 100644 --- a/vidix/pm2_vid.c +++ b/vidix/pm2_vid.c @@ -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) |