index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Xavier Chantry <shiningxc@gmail.com> | 2009-03-01 01:40:24 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-03-15 11:41:37 -0500 |
commit | 9519d22df7cef5b5a48a7d1ebee44a9e935e02b7 (patch) | |
tree | 201c619dc713327b5e7a004d7f011a1f5ed9bfeb /lib/libalpm/be_files.c | |
parent | de97282fbd78755cde71c1d064ec00b806efcca5 (diff) |
-rw-r--r-- | lib/libalpm/be_files.c | 6 |
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" |