summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/filter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/render/filter.c b/render/filter.c
index 0cbd47bd2..c513ee8f9 100644
--- a/render/filter.c
+++ b/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;