Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-05-11 21:30:31 +0200
committerAllan McRae <allan@archlinux.org>2014-05-22 15:50:20 +1000
commitb929e74f2ebc1b7102d57cd22a5e986cead5bd4b (patch)
treef9011d09d11a96548b8eac0818e065140479a8a2 /src
parent060d06d2f7f93ebc2d3af6a0846f06b2f7d38c3a (diff)
util: Use off_t instead of int for size values
Old output: > Total Installed Size: -1527.44 MiB Fixed: > Total Installed Size: 2568.56 MiB Bug introduced in 7b8f8753b15037bf4a88126ffde8195416432c72. Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/util.c b/src/pacman/util.c
index ec2d3d2b..ebf15dbd 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -433,7 +433,7 @@ static void table_free(alpm_list_t *headers, alpm_list_t *rows)
alpm_list_free(rows);
}
-static void add_transaction_sizes_row(alpm_list_t **rows, char *label, int size)
+static void add_transaction_sizes_row(alpm_list_t **rows, char *label, off_t size)
{
alpm_list_t *row = NULL;
char *str;