summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/test-migration.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-migration.c b/test/test-migration.c
index 9366edbf..bcd805df 100644
--- a/test/test-migration.c
+++ b/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)