From 9519d22df7cef5b5a48a7d1ebee44a9e935e02b7 Mon Sep 17 00:00:00 2001 From: Xavier Chantry Date: Sun, 1 Mar 2009 01:40:24 +0100 Subject: be_files.c : use %jd instead of %ju for intmax_t Signed-off-by: Xavier Chantry Signed-off-by: Dan McGee --- lib/libalpm/be_files.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libalpm') diff --git a/lib/libalpm/be_files.c b/lib/libalpm/be_files.c index 0765b8db..93a2cc9f 100644 --- a/lib/libalpm/be_files.c +++ b/lib/libalpm/be_files.c @@ -756,7 +756,7 @@ int _alpm_db_write(pmdb_t *db, pmpkg_t *info, pmdbinfrq_t inforeq) if(info->isize) { /* only write installed size, csize is irrelevant once installed */ fprintf(fp, "%%SIZE%%\n" - "%ju\n\n", (intmax_t)info->isize); + "%jd\n\n", (intmax_t)info->isize); } if(info->reason) { fprintf(fp, "%%REASON%%\n" @@ -765,11 +765,11 @@ int _alpm_db_write(pmdb_t *db, pmpkg_t *info, pmdbinfrq_t inforeq) } else { if(info->size) { fprintf(fp, "%%CSIZE%%\n" - "%ju\n\n", (intmax_t)info->size); + "%jd\n\n", (intmax_t)info->size); } if(info->isize) { fprintf(fp, "%%ISIZE%%\n" - "%ju\n\n", (intmax_t)info->isize); + "%jd\n\n", (intmax_t)info->isize); } if(info->md5sum) { fprintf(fp, "%%MD5SUM%%\n" -- cgit v1.2.3-24-g4f1b