From 959442bca138e6480418f2607a04d9343db7f438 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Thu, 6 Dec 2012 19:49:05 +0900 Subject: [PATCH] Fix a typo --- src/fcdir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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