From b56e3ad7e0949bbdeab1f66e5017f64326a0de4d Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Sat, 22 Jul 2006 02:11:14 +0000 Subject: [PATCH] 64 bit fix --- common/defines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/defines.h b/common/defines.h index e3ffa7b4..6879dd1f 100644 --- a/common/defines.h +++ b/common/defines.h @@ -55,7 +55,7 @@ #define SETPIXEL16(d, x, y, w, v) \ (*(((unsigned short*)d) + ((y) * (w) + (x))) = (v)) #define SETPIXEL32(d, x, y, w, v) \ -(*(((unsigned long*)d) + ((y) * (w) + (x))) = (v)) +(*(((unsigned int*)d) + ((y) * (w) + (x))) = (v)) #define COLOR8(r, g, b) \ ( \ (((r) >> 5) << 0) | \