Eliminate warning.

This commit is contained in:
Patrick Lam 2006-04-07 04:19:49 +00:00
parent 8b4e7628e1
commit 3a342c5a6c
2 changed files with 6 additions and 1 deletions

View File

@ -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:

View File

@ -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++;
}
}