From: Patrick Lam Date: Fri, 7 Apr 2006 04:19:49 +0000 (+0000) Subject: Eliminate warning. X-Git-Tag: fc-2_3_95~29 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=3a342c5a6ca6c27fdddf0c669392b7ab1d6e3f7e;p=fontconfig.git Eliminate warning. --- diff --git a/ChangeLog b/ChangeLog index 7f67250..6a5deb1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-04-07 Patrick Lam + * src/fcdir.c (FcDirScanConfig): + + Eliminate warning. + 2006-04-06 Patrick Lam * fc-match/.cvsignore: * fc-match/Makefile.am: diff --git a/src/fcdir.c b/src/fcdir.c index bc8322b..f505bf5 100644 --- a/src/fcdir.c +++ b/src/fcdir.c @@ -205,7 +205,7 @@ FcDirScanConfig (FcFontSet *set, dirlist[dirlistlen] = malloc(strlen (e->d_name) + 1); if (!dirlist[dirlistlen]) return FcFalse; - strcpy(dirlist[dirlistlen], e->d_name); + strcpy((char *)dirlist[dirlistlen], e->d_name); dirlistlen++; } }