aboutsummaryrefslogtreecommitdiff
path: root/include/drawfcall.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/drawfcall.h')
-rw-r--r--include/drawfcall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drawfcall.h b/include/drawfcall.h
index e8a8c9b2..0d5cd6d3 100644
--- a/include/drawfcall.h
+++ b/include/drawfcall.h
@@ -53,7 +53,7 @@ AUTOLIB(draw)
(p)[3] = (x)&0xFF
#define GET(p, x) \
- ((x) = (((p)[0] << 24) | ((p)[1] << 16) | ((p)[2] << 8) | ((p)[3])))
+ ((x) = (u32int)(((p)[0] << 24) | ((p)[1] << 16) | ((p)[2] << 8) | ((p)[3])))
#define PUT2(p, x) \
(p)[0] = ((x) >> 8)&0xFF, \