diff options
Diffstat (limited to 'src/AllPlanes.c')
-rw-r--r-- | src/AllPlanes.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/AllPlanes.c b/src/AllPlanes.c index b636159e..4829babe 100644 --- a/src/AllPlanes.c +++ b/src/AllPlanes.c @@ -24,6 +24,7 @@ used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. */ +/* $XFree86: xc/lib/X11/AllPlanes.c,v 1.4 2001/12/14 19:53:56 dawes Exp $ */ #define NEED_REPLIES #include "Xlibint.h" @@ -61,7 +62,7 @@ unsigned long *rmask, *gmask, *bmask; /* CARD32 */ /* RETURN */ *bmask = rep.blueMask; /* sizeof(CARD32) = 4 */ - _XRead32 (dpy, (char *) pixels, (long)(ncolors * 4)); + _XRead32 (dpy, (long *) pixels, (long)(ncolors * 4)); } UnlockDisplay(dpy); |