diff --git a/src/fcdir.c b/src/fcdir.c index f86db19..6869ea1 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