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 7b8f8753b1
.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
060d06d2f7
commit
b929e74f2e
1 changed files with 1 additions and 1 deletions
|
@ -433,7 +433,7 @@ static void table_free(alpm_list_t *headers, alpm_list_t *rows)
|
||||||
alpm_list_free(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;
|
alpm_list_t *row = NULL;
|
||||||
char *str;
|
char *str;
|
||||||
|
|
Loading…
Add table
Reference in a new issue