diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-04-30 22:22:05 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-04-30 22:22:05 +0200 |
commit | 6297d437585be15616a47802c84f592447ed5cdd (patch) | |
tree | 19b7469df229c245b689f08ab551ae43c76c7a15 /pgsql.h | |
parent | 0803c7828d34202f14f2d4b0e9a89044ffcf0bd6 (diff) | |
download | pgfuse-6297d437585be15616a47802c84f592447ed5cdd.tar.gz pgfuse-6297d437585be15616a47802c84f592447ed5cdd.tar.bz2 |
changed size to a bigint
Diffstat (limited to 'pgsql.h')
-rw-r--r-- | pgsql.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -21,6 +21,7 @@ #include <sys/types.h> /* size_t */ #include <sys/time.h> /* for struct timespec */ #include <sys/stat.h> /* mode_t */ +#include <stdint.h> /* for uint64_t */ #include <fuse.h> /* for user-land filesystem */ @@ -29,7 +30,7 @@ /* --- metadata stored about a file/directory/synlink --- */ typedef struct PgMeta { - size_t size; /* the size of the file */ + int64_t size; /* the size of the file (naturally the bigint on PostgreSQL) */ mode_t mode; /* type and permissions of file/directory */ uid_t uid; /* owner of the file/directory */ gid_t gid; /* group owner of the file/directory */ |