projects
/
platform
/
upstream
/
fontconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b4e762
)
Eliminate warning.
author
Patrick Lam
<plam@MIT.EDU>
Fri, 7 Apr 2006 04:19:49 +0000
(
04:19
+0000)
committer
Patrick Lam
<plam@MIT.EDU>
Fri, 7 Apr 2006 04:19:49 +0000
(
04:19
+0000)
ChangeLog
patch
|
blob
|
history
src/fcdir.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
7f67250
..
6a5deb1
100644
(file)
--- 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
bc8322b
..
f505bf5
100644
(file)
--- 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++;
}
}