From 6297d437585be15616a47802c84f592447ed5cdd Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 30 Apr 2012 22:22:05 +0200 Subject: changed size to a bigint --- pgsql.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pgsql.h') diff --git a/pgsql.h b/pgsql.h index 0b9c96c..46a3bab 100644 --- a/pgsql.h +++ b/pgsql.h @@ -21,6 +21,7 @@ #include /* size_t */ #include /* for struct timespec */ #include /* mode_t */ +#include /* for uint64_t */ #include /* 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 */ -- cgit v1.2.3-54-g00ecf