diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-11-07 15:21:51 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-02-21 14:15:58 -0500 |
commit | 647569d029d0c01ce36ae7d94095ea83f40728de (patch) | |
tree | 1f3be04bc4ef9ea7ffc988ae8dadce501c086f83 /src | |
parent | e3a66c2937c3bd5c45f5170cf7720b4023b8ae3f (diff) |
FcStat: change to FcChar8 for first arg
This shouldn't affect the ABI, makes FcStat more like the rest of the
fontconfig API, and fixes warnings where we pass FcChar8* pointers in
to this func from other places.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/fccache.c | 4 | ||||
-rw-r--r-- | src/fcint.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/fccache.c b/src/fccache.c index 2fd74549..c38a7050 100644 --- a/src/fccache.c +++ b/src/fccache.c @@ -87,7 +87,7 @@ typedef __int64 INT64; */ int -FcStat (const char *file, struct stat *statb) +FcStat (const FcChar8 *file, struct stat *statb) { WIN32_FILE_ATTRIBUTE_DATA wfad; char full_path_name[MAX_PATH]; @@ -136,7 +136,7 @@ FcStat (const char *file, struct stat *statb) #else int -FcStat (const char *file, struct stat *statb) +FcStat (const FcChar8 *file, struct stat *statb) { return stat ((char *) file, statb); } diff --git a/src/fcint.h b/src/fcint.h index 83a7a435..8179195f 100644 --- a/src/fcint.h +++ b/src/fcint.h @@ -545,7 +545,7 @@ FcPrivate void FcDirCacheReference (FcCache *cache, int nref); FcPrivate int -FcStat (const char *file, struct stat *statb); +FcStat (const FcChar8 *file, struct stat *statb); /* fccfg.c */ |