summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2006-07-22 02:11:14 +0000
committerjsorg71 <jsorg71>2006-07-22 02:11:14 +0000
commitb56e3ad7e0949bbdeab1f66e5017f64326a0de4d (patch)
treef3f7248fdab2ea370f96e21c2f14f9bef1e14047
parentc3d93235b1bc4aeaaf4b867de5bedcdea3e1f4ee (diff)
downloadxrdp-proprietary-b56e3ad7e0949bbdeab1f66e5017f64326a0de4d.tar.gz
xrdp-proprietary-b56e3ad7e0949bbdeab1f66e5017f64326a0de4d.zip
64 bit fix
-rw-r--r--common/defines.h2
1 files changed, 1 insertions, 1 deletions
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) | \