aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/render
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/render')
-rw-r--r--xorg-server/render/filter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xorg-server/render/filter.c b/xorg-server/render/filter.c
index 0cbd47bd2..c513ee8f9 100644
--- a/xorg-server/render/filter.c
+++ b/xorg-server/render/filter.c
@@ -56,7 +56,8 @@ PictureGetFilterId (const char *filter, int len, Bool makeit)
if (len < 0)
len = strlen (filter);
for (i = 0; i < nfilterNames; i++)
- if (!CompareISOLatin1Lowered ((unsigned char *) filterNames[i], -1, (unsigned char *) filter, len))
+ if (!CompareISOLatin1Lowered ((const unsigned char *) filterNames[i], -1,
+ (const unsigned char *) filter, len))
return i;
if (!makeit)
return -1;