summaryrefslogtreecommitdiff
path: root/src/fcpat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fcpat.c')
-rw-r--r--src/fcpat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fcpat.c b/src/fcpat.c
index 254faae..2a21a13 100644
--- a/src/fcpat.c
+++ b/src/fcpat.c
@@ -341,7 +341,7 @@ FcValueListEntCreate (FcValueList *h)
if (l->value.type == FcTypeString)
{
new->value.type = FcTypeString;
- new->value.u.s = FcObjectStaticName (l->value.u.s);
+ new->value.u.s = (FcChar8 *) FcObjectStaticName ((char *) l->value.u.s);
}
else
{