summaryrefslogtreecommitdiff
path: root/src/savage_regs.h
diff options
context:
space:
mode:
authorAlex Deucher <agd5f@yahoo.com>2004-09-30 05:31:13 +0000
committerAlex Deucher <agd5f@yahoo.com>2004-09-30 05:31:13 +0000
commitd88b1abf40905ff9b343b047c34460162017ddfc (patch)
tree9a68096b8548d01b6d8e2f8f6acdd33ecf70feb8 /src/savage_regs.h
parenta1ef17bb2cc069511baaefcbe04298c087533d35 (diff)
Portability fixes from Matthieu Herrb (bug 1409)
Diffstat (limited to 'src/savage_regs.h')
-rw-r--r--src/savage_regs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/savage_regs.h b/src/savage_regs.h
index 4a6cb99..ab2ec27 100644
--- a/src/savage_regs.h
+++ b/src/savage_regs.h
@@ -241,7 +241,7 @@ do { \
*/
#define UnProtectCRTC() \
do { \
- uchar byte; \
+ unsigned char byte; \
OUTREG8(CRT_ADDRESS_REG,0x11); \
byte = INREG8(CRT_DATA_REG) & 0X7F; \
OUTREG16(CRT_ADDRESS_REG,byte << 8 | 0x11); \