summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2014-07-08 14:55:15 +0900
committerAkira TAGOH <akira@tagoh.org>2014-07-08 14:55:15 +0900
commitdca5d0feee5eb6428bec48b1aff4396cf92c76c0 (patch)
tree382f9b51fec662c9f4f63ff56d6881f4700a4e6b
parentda8233b0f244676ea372ffa485b6cb329700c8ca (diff)
Fix a gcc warning
test-migration.c:17:5: warning: pointer targets in passing argument 1 of 'FcStrDirname' differ in signedness
-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)