summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2012-12-06 19:49:05 +0900
committerAkira TAGOH <akira@tagoh.org>2012-12-06 19:49:05 +0900
commit959442bca138e6480418f2607a04d9343db7f438 (patch)
tree68678f95e97c80abe9b200d270e086f1294cf632
parent9231545c6bb775460702d8a615f1649bd8632f00 (diff)
Fix a typo
-rw-r--r--src/fcdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fcdir.c b/src/fcdir.c
index f86db190..6869ea17 100644
--- a/src/fcdir.c
+++ b/src/fcdir.c
@@ -41,7 +41,7 @@ FcFileIsLink (const FcChar8 *file)
#if HAVE_LSTAT
struct stat statb;
- if (lstat (file, &statb) != 0)
+ if (lstat ((const char *)file, &statb) != 0)
return FcFalse;
return S_ISLNK (statb.st_mode);
#else