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>
|
2006-04-06 Patrick Lam <plam@mit.edu>
|
||||||
* fc-match/.cvsignore:
|
* fc-match/.cvsignore:
|
||||||
* fc-match/Makefile.am:
|
* fc-match/Makefile.am:
|
||||||
|
|
|
@ -205,7 +205,7 @@ FcDirScanConfig (FcFontSet *set,
|
||||||
dirlist[dirlistlen] = malloc(strlen (e->d_name) + 1);
|
dirlist[dirlistlen] = malloc(strlen (e->d_name) + 1);
|
||||||
if (!dirlist[dirlistlen])
|
if (!dirlist[dirlistlen])
|
||||||
return FcFalse;
|
return FcFalse;
|
||||||
strcpy(dirlist[dirlistlen], e->d_name);
|
strcpy((char *)dirlist[dirlistlen], e->d_name);
|
||||||
dirlistlen++;
|
dirlistlen++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue