diff options
author | jsorg71 <jsorg71> | 2006-07-22 02:11:14 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2006-07-22 02:11:14 +0000 |
commit | b56e3ad7e0949bbdeab1f66e5017f64326a0de4d (patch) | |
tree | f3f7248fdab2ea370f96e21c2f14f9bef1e14047 | |
parent | c3d93235b1bc4aeaaf4b867de5bedcdea3e1f4ee (diff) | |
download | xrdp-proprietary-b56e3ad7e0949bbdeab1f66e5017f64326a0de4d.tar.gz xrdp-proprietary-b56e3ad7e0949bbdeab1f66e5017f64326a0de4d.zip |
64 bit fix
-rw-r--r-- | common/defines.h | 2 |
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) | \ |