From: Patrick Lam Date: Wed, 8 Feb 2006 03:34:17 +0000 (+0000) Subject: Fix warning. X-Git-Tag: fc-2_3_94~28 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b10e77628c4d207ac60ae4000b1459ced9228d69;p=fontconfig.git Fix warning. --- diff --git a/ChangeLog b/ChangeLog index 4e5687b..0881999 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-02-07 Patrick Lam + * src/fccache.c (FcCacheReadDirs): + + Fix warning. + 2006-02-07 Patrick Lam * src/fcdir.c (FcDirScanConfig): diff --git a/src/fccache.c b/src/fccache.c index 5a64203..90d0894 100644 --- a/src/fccache.c +++ b/src/fccache.c @@ -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;