]> git.wh0rd.org Git - fontconfig.git/commitdiff
Eliminate warning.
authorPatrick Lam <plam@MIT.EDU>
Fri, 7 Apr 2006 04:19:49 +0000 (04:19 +0000)
committerPatrick Lam <plam@MIT.EDU>
Fri, 7 Apr 2006 04:19:49 +0000 (04:19 +0000)
ChangeLog
src/fcdir.c

index 7f6725092d3cb36073d3274f91c25e79c5e4e760..6a5deb1031c1b8a27629043cad3be920b473dc6c 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:
index bc8322b487dde45d1b66e74eefcd6740f8649ccf..f505bf533b3396641c25296589a6d2cb3de0b92d 100644 (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++;
        }
     }