Commit dca5d0fe authored by Akira TAGOH's avatar Akira TAGOH

Fix a gcc warning

test-migration.c:17:5: warning: pointer targets in passing argument 1 of 'FcStrDirname' differ in signedness
parent da8233b0
...@@ -56,7 +56,7 @@ mkdir_p(const char *dir) ...@@ -56,7 +56,7 @@ mkdir_p(const char *dir)
if (strlen (dir) == 0) if (strlen (dir) == 0)
return FcFalse; return FcFalse;
parent = (char *) FcStrDirname (dir); parent = (char *) FcStrDirname ((const FcChar8 *)dir);
if (!parent) if (!parent)
return FcFalse; return FcFalse;
if (access (parent, F_OK) == 0) if (access (parent, F_OK) == 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment