summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/mga
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2004-03-18 00:16:44 +0000
committerIan Romanick <idr@us.ibm.com>2004-03-18 00:16:44 +0000
commit6af3dca18a2315ea431b5ea868913093d2111491 (patch)
tree733fc817b4d692e7566aba9d4daf0cb97d2a829a /src/mesa/drivers/dri/mga
parent16c704e8f7cd9b7d7c5d6667cb38e016e3b608d1 (diff)
Convert int(8|32)_t to uint(8|32)_t, like should have been done the first time.
Diffstat (limited to 'src/mesa/drivers/dri/mga')
-rw-r--r--src/mesa/drivers/dri/mga/mga_xmesa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/mga/mga_xmesa.h b/src/mesa/drivers/dri/mga/mga_xmesa.h
index b9b4f8b0ae..6825c5ace6 100644
--- a/src/mesa/drivers/dri/mga/mga_xmesa.h
+++ b/src/mesa/drivers/dri/mga/mga_xmesa.h
@@ -144,7 +144,7 @@ do { \
#define MGA_BASE( reg ) ((unsigned long)(mmesa->mgaScreen->mmio.map))
#define MGA_ADDR( reg ) (MGA_BASE(reg) + reg)
-#define MGA_DEREF( reg ) *(volatile int32_t *)MGA_ADDR( reg )
+#define MGA_DEREF( reg ) *(volatile uint32_t *)MGA_ADDR( reg )
#define MGA_READ( reg ) MGA_DEREF( reg )
#define MGA_WRITE( reg, val ) do { MGA_DEREF( reg ) = val; } while (0)