From dca5d0feee5eb6428bec48b1aff4396cf92c76c0 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Tue, 8 Jul 2014 14:55:15 +0900 Subject: [PATCH] Fix a gcc warning test-migration.c:17:5: warning: pointer targets in passing argument 1 of 'FcStrDirname' differ in signedness --- test/test-migration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-migration.c b/test/test-migration.c index 9366edb..bcd805d 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)