aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/mfb/maskbits.h
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/mfb/maskbits.h')
-rw-r--r--nx-X11/programs/Xserver/mfb/maskbits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/mfb/maskbits.h b/nx-X11/programs/Xserver/mfb/maskbits.h
index ed5cc2687..7e2b74a18 100644
--- a/nx-X11/programs/Xserver/mfb/maskbits.h
+++ b/nx-X11/programs/Xserver/mfb/maskbits.h
@@ -534,7 +534,7 @@ extern PixelType mfbGetmask(int);
#endif
#if GETLEFTBITS_ALIGNMENT == 1
-#define getleftbits(psrc, w, dst) dst = *((CARD32 *)(pointer) psrc)
+#define getleftbits(psrc, w, dst) dst = *((CARD32 *)(void *) psrc)
#endif /* GETLEFTBITS_ALIGNMENT == 1 */
#if GETLEFTBITS_ALIGNMENT == 2