diff options
author | Patrick Lam <plam@MIT.EDU> | 2006-04-07 04:19:49 +0000 |
---|---|---|
committer | Patrick Lam <plam@MIT.EDU> | 2006-04-07 04:19:49 +0000 |
commit | 3a342c5a6ca6c27fdddf0c669392b7ab1d6e3f7e (patch) | |
tree | 184cbcd1ec05bd501adbc8e004195a361a3717b6 | |
parent | 8b4e7628e1d8baca4f55fcdd76101b8b3e015044 (diff) |
Eliminate warning.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/fcdir.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2006-04-07 Patrick Lam <plam@mit.edu> + * src/fcdir.c (FcDirScanConfig): + + Eliminate warning. + 2006-04-06 Patrick Lam <plam@mit.edu> * fc-match/.cvsignore: * fc-match/Makefile.am: diff --git a/src/fcdir.c b/src/fcdir.c index bc8322b4..f505bf53 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++; } } |