aboutsummaryrefslogtreecommitdiff
path: root/fontconfig/test/test-migration.c
diff options
context:
space:
mode:
Diffstat (limited to 'fontconfig/test/test-migration.c')
-rw-r--r--fontconfig/test/test-migration.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fontconfig/test/test-migration.c b/fontconfig/test/test-migration.c
index 9366edbf1..bcd805df8 100644
--- a/fontconfig/test/test-migration.c
+++ b/fontconfig/test/test-migration.c
@@ -56,7 +56,7 @@ mkdir_p(const char *dir)
if (strlen (dir) == 0)
return FcFalse;
- parent = (char *) FcStrDirname (dir);
+ parent = (char *) FcStrDirname ((const FcChar8 *)dir);
if (!parent)
return FcFalse;
if (access (parent, F_OK) == 0)