summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/X11/extensions/Xrender.h2
-rw-r--r--src/Filter.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/X11/extensions/Xrender.h b/include/X11/extensions/Xrender.h
index 4e4723a..ebfa552 100644
--- a/include/X11/extensions/Xrender.h
+++ b/include/X11/extensions/Xrender.h
@@ -484,7 +484,7 @@ XRenderQueryFilters (Display *dpy, Drawable drawable);
void
XRenderSetPictureFilter (Display *dpy,
Picture picture,
- char *filter,
+ const char *filter,
XFixed *params,
int nparams);
diff --git a/src/Filter.c b/src/Filter.c
index 335f6b2..0ccc811 100644
--- a/src/Filter.c
+++ b/src/Filter.c
@@ -129,7 +129,7 @@ XRenderQueryFilters (Display *dpy, Drawable drawable)
void
XRenderSetPictureFilter (Display *dpy,
Picture picture,
- char *filter,
+ const char *filter,
XFixed *params,
int nparams)
{