summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lam <plam@MIT.EDU>2006-04-07 04:19:49 +0000
committerPatrick Lam <plam@MIT.EDU>2006-04-07 04:19:49 +0000
commit3a342c5a6ca6c27fdddf0c669392b7ab1d6e3f7e (patch)
tree184cbcd1ec05bd501adbc8e004195a361a3717b6
parent8b4e7628e1d8baca4f55fcdd76101b8b3e015044 (diff)
Eliminate warning.
-rw-r--r--ChangeLog5
-rw-r--r--src/fcdir.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7f672509..6a5deb10 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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++;
}
}