]> git.wh0rd.org - fontconfig.git/blobdiff - src/fcpat.c
Fix more gcc4 warnings:
[fontconfig.git] / src / fcpat.c
index 84154ea2ec2f63f89fc767e892a06ca225b66e66..cfb6f45a39afe362f130523d428d4631b9bd73e0 100644 (file)
@@ -331,7 +331,7 @@ typedef union _FcValueListAlign {
 
 static int         FcValueListFrozenCount[FcTypeLangSet + 1];
 static int         FcValueListFrozenBytes[FcTypeLangSet + 1];
-static char        *FcValueListFrozenName[] = {
+static char        FcValueListFrozenName[][8] = {
     "Void", 
     "Integer", 
     "Double", 
@@ -1203,6 +1203,7 @@ FcPatternDuplicate (const FcPattern *orig)
     int                    i;
     FcValueListPtr  l;
 
+    printf("pattern duplicate %x\n", (int)orig); // XXX
     new = FcPatternCreate ();
     if (!new)
        goto bail0;