summaryrefslogtreecommitdiff
path: root/pgsql.c
diff options
context:
space:
mode:
Diffstat (limited to 'pgsql.c')
-rw-r--r--pgsql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pgsql.c b/pgsql.c
index 5b7ff58..753f9de 100644
--- a/pgsql.c
+++ b/pgsql.c
@@ -320,7 +320,7 @@ int psql_read_buf( PGconn *conn, const int64_t id, const char *path, char *buf,
int idx;
char *dst;
PgMeta meta;
- int size;
+ size_t size;
int64_t tmp;
tmp = psql_read_meta( conn, id, path, &meta );