Fix a gcc warning

test-migration.c:17:5: warning: pointer targets in passing argument 1 of 'FcStrDirname' differ in signedness
This commit is contained in:
Akira TAGOH 2014-07-08 14:55:15 +09:00
parent da8233b0f2
commit dca5d0feee
1 changed files with 1 additions and 1 deletions

View File

@ -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)