From b10e77628c4d207ac60ae4000b1459ced9228d69 Mon Sep 17 00:00:00 2001 From: Patrick Lam Date: Wed, 8 Feb 2006 03:34:17 +0000 Subject: [PATCH] Fix warning. --- ChangeLog | 5 +++++ src/fccache.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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; -- 2.39.5