summaryrefslogtreecommitdiff
path: root/src/fcdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fcdir.c')
-rw-r--r--src/fcdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fcdir.c b/src/fcdir.c
index bc8322b4..f505bf53 100644
--- 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++;
}
}