From b4f5421c26d5b2fa5a9ec99191da7af5e3f3d474 Mon Sep 17 00:00:00 2001 From: Mikhail Gusarov Date: Tue, 22 Feb 2011 19:17:02 +0100 Subject: [PATCH 2/2] Add fc-pattern and fcarch to .gitignore --- .gitignore | 3 +++ src/fcstat.c | 2 +- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/.gitignore b/.gitignore index 4c336d2..894a6a7 100644 --- a/.gitignore +++ b/.gitignore @@ -85,10 +85,13 @@ fc-list/fc-list fc-list/fc-list.1 fc-match/fc-match fc-match/fc-match.1 +fc-pattern/fc-pattern +fc-pattern/fc-pattern.1 fc-query/fc-query fc-query/fc-query.1 fc-scan/fc-scan fc-scan/fc-scan.1 +src/fcarch src/fontconfig.def fcalias.h fcaliastail.h diff --git a/src/fcstat.c b/src/fcstat.c index cb5a61a..59d0d39 100644 --- a/src/fcstat.c +++ b/src/fcstat.c @@ -221,7 +221,7 @@ FcStatChecksum (const char *file, struct stat *statb) if (FcFsMtimeBroken (file)) { - if (FcDirChecksum (file, &statb->st_mtime) == -1) + if (FcDirChecksum (file, (int*)&statb->st_mtime) == -1) return -1; } -- 1.7.2.3