summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.c b/src/client.c
index 2b67e54..7c66a38 100644
--- a/src/client.c
+++ b/src/client.c
@@ -393,7 +393,7 @@ static int update_image_info(struct og_dbi *dbi, const char *image_id,
result = dbi_conn_queryf(dbi->conn,
"UPDATE imagenes"
" SET clonator='%s', compressor='%s',"
- " filesystem='%s', datasize=%d"
+ " filesystem='%s', datasize=%lld"
" WHERE idimagen=%s", clonator, compressor, filesystem,
datasize, image_id);