diff options
Diffstat (limited to 'src/rmd_getzpixmap.c')
-rw-r--r-- | src/rmd_getzpixmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rmd_getzpixmap.c b/src/rmd_getzpixmap.c index 8f6684c..909f003 100644 --- a/src/rmd_getzpixmap.c +++ b/src/rmd_getzpixmap.c @@ -57,7 +57,7 @@ int rmdGetZPixmap( Display *dpy, request->y = y; request->width = width; request->height = height; - request->planeMask = AllPlanes; + request->planeMask = (CARD32)AllPlanes; request->format = ZPixmap; if (!_XReply(dpy, (xReply *)&reply, 0, xFalse) || !reply.length) { @@ -101,7 +101,7 @@ int rmdGetZPixmapSHM( Display *dpy, request->y = y; request->width = width; request->height = height; - request->planeMask = AllPlanes; + request->planeMask = (CARD32)AllPlanes; request->format = ZPixmap; request->offset = data - shminfo->shmaddr; |