summaryrefslogtreecommitdiff
path: root/src/Xrenderint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Xrenderint.h')
-rw-r--r--src/Xrenderint.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Xrenderint.h b/src/Xrenderint.h
index a17acc7..e424c37 100644
--- a/src/Xrenderint.h
+++ b/src/Xrenderint.h
@@ -106,9 +106,9 @@ XRenderFindDisplay (Display *dpy);
*/
#ifdef WORD64
-#define DataInt32(dpy,d,len) Data32(dpy,(long *) (d),len)
+#define DataInt32(dpy,d,len) Data32(dpy,(_Xconst long *) (d),len)
#else
-#define DataInt32(dpy,d,len) Data(dpy,(char *) (d),len)
+#define DataInt32(dpy,d,len) Data(dpy,(_Xconst char *) (d),len)
#endif
#endif /* _XRENDERINT_H_ */