summaryrefslogtreecommitdiff
path: root/src/Cursor.c
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2006-09-01 17:12:39 +0200
committerTilman Sauerbeck <tilman@code-monkey.de>2006-09-01 17:12:39 +0200
commit78e08086c13b2053f7cf1f74a8ec49b7e970a420 (patch)
treefa56414bdaec107986cbe2b1a34c0da26bf94f24 /src/Cursor.c
parent4ac8fb34617e392a5af35bf34d86df61903ec482 (diff)
Bug #4902: _XRead32() expects a signed long pointer on 64 bit systems.
Diffstat (limited to 'src/Cursor.c')
-rw-r--r--src/Cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Cursor.c b/src/Cursor.c
index cbb3d6b..dac1f1c 100644
--- a/src/Cursor.c
+++ b/src/Cursor.c
@@ -128,7 +128,7 @@ XFixesGetCursorImage (Display *dpy)
image->atom = rep.cursorName;
name = (char *) (image->pixels + npixels);
image->name = name;
- _XRead32 (dpy, image->pixels, npixels << 2);
+ _XRead32 (dpy, (long *) image->pixels, npixels << 2);
_XRead (dpy, name, nbytes_name);
name[nbytes_name] = '\0'; /* null-terminate */
/* skip any padding */