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:
parent
da8233b0f2
commit
dca5d0feee
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue