summaryrefslogtreecommitdiff
path: root/pgsql.c
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-05-01 20:52:22 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-05-01 20:52:22 +0200
commit62486acd12a2c5ff8761717fef093fd87b055df5 (patch)
tree81c73bb4d3e8012dc37541b72b73f60d0e061e54 /pgsql.c
parent48f270b4690f085561cc855008d67445f08422e4 (diff)
downloadpgfuse-62486acd12a2c5ff8761717fef093fd87b055df5.tar.gz
pgfuse-62486acd12a2c5ff8761717fef093fd87b055df5.tar.bz2
fixed small size_t issue, passes the bonnie test now
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 );