summaryrefslogtreecommitdiff
path: root/src/fcatomic.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2011-03-14 18:49:21 -0300
committerBehdad Esfahbod <behdad@behdad.org>2011-03-14 18:49:21 -0300
commitc21fb9ac27ca89f3b581c58b1a08372f8273a262 (patch)
treeab4d218d88960de81209a740dd67b65d5dc3c46b /src/fcatomic.c
parentb5617e636cbb0bc8ef4daba6681a6f58078d7a42 (diff)
downloadfontconfig-c21fb9ac27ca89f3b581c58b1a08372f8273a262.tar.gz
Always define FcStat as a function
Such that first arg is const char *. We also need to make more changes in that function as part of some other bug.
Diffstat (limited to 'src/fcatomic.c')
-rw-r--r--src/fcatomic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fcatomic.c b/src/fcatomic.c
index 81b5f6a..33c1cc6 100644
--- a/src/fcatomic.c
+++ b/src/fcatomic.c
@@ -142,7 +142,7 @@ FcAtomicLock (FcAtomic *atomic)
* machines sharing the same filesystem will have clocks
* reasonably close to each other.
*/
- if (FcStat ((char *) atomic->lck, &lck_stat) >= 0)
+ if (FcStat (atomic->lck, &lck_stat) >= 0)
{
time_t now = time (0);
if ((long int) (now - lck_stat.st_mtime) > 10 * 60)