From f7f2d491eff707d6087dcdec1d8a1bbd733b5f14 Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Sat, 16 Sep 2006 20:26:02 +0200 Subject: Const-ified the filter argument to XRenderSetPictureFilter(). --- include/X11/extensions/Xrender.h | 2 +- src/Filter.c | 2 +- 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) { -- cgit v1.2.3