Commit c50ea916 authored by Keith Packard's avatar Keith Packard
Browse files

Use intptr_t instead of off_t inside FcCache structure.

This avoids OS-dependencies in the cache file structure.
parent 76abb77f
......@@ -308,7 +308,7 @@ typedef struct _FcStrBuf {
typedef struct _FcCache {
int magic; /* FC_CACHE_MAGIC */
off_t size; /* size of file */
intptr_t size; /* size of file */
intptr_t dir; /* offset to dir name */
intptr_t dirs; /* offset to subdirs */
int dirs_count; /* number of subdir strings */
......
......@@ -26,7 +26,6 @@ typedef union _FcAlign {
double d;
int i;
intptr_t ip;
off_t o;
FcBool b;
void *p;
} FcAlign;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment