]> git.wh0rd.org - fontconfig.git/blobdiff - src/fcatomic.c
Always define FcStat as a function
[fontconfig.git] / src / fcatomic.c
index 81b5f6a283b211dd91755e63a077ced1d1ba53be..33c1cc6287df4282feccde3f2a71dc6f9d9c1568 100644 (file)
@@ -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)