]> git.wh0rd.org Git - fontconfig.git/commitdiff
Fix warning.
authorPatrick Lam <plam@MIT.EDU>
Wed, 8 Feb 2006 03:34:17 +0000 (03:34 +0000)
committerPatrick Lam <plam@MIT.EDU>
Wed, 8 Feb 2006 03:34:17 +0000 (03:34 +0000)
ChangeLog
src/fccache.c

index 4e5687b1ece478acdae5ce05faef4a505e4e55a3..0881999f70bd8b85ce066f5f722b218f1120ce58 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-02-07  Patrick Lam  <plam@mit.edu>
+       * src/fccache.c (FcCacheReadDirs):
+
+       Fix warning.
+
 2006-02-07  Patrick Lam  <plam@mit.edu>
        * src/fcdir.c (FcDirScanConfig):
 
index 5a642031637708c22b40dac0e29cceb87b7147e3..90d08942152df91c06e84054e244aca53b9c415b 100644 (file)
@@ -859,7 +859,7 @@ FcCacheReadDirs (FcConfig * config, FcGlobalCache * cache,
         * to avoid the looped directories via symlinks
         * Clearly a dir not in fonts.conf shouldn't be globally cached.
         */
-       dir = FcConfigNormalizeFontDir (config, dir);
+       dir = (FcChar8 *)FcConfigNormalizeFontDir (config, dir);
        if (!dir)
            continue;