Eliminate warning.
This commit is contained in:
parent
8b4e7628e1
commit
3a342c5a6c
|
@ -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:
|
||||
|
|
|
@ -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++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue