[Fontconfig] fontconfig: Branch 'master'

Akira TAGOH tagoh at kemper.freedesktop.org
Mon Jul 7 22:55:52 PDT 2014


 test/test-migration.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit dca5d0feee5eb6428bec48b1aff4396cf92c76c0
Author: Akira TAGOH <akira at tagoh.org>
Date:   Tue Jul 8 14:55:15 2014 +0900

    Fix a gcc warning
    
    test-migration.c:17:5: warning: pointer targets in passing argument 1 of 'FcStrDirname' differ in signedness

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)


More information about the Fontconfig mailing list