From 05e3ad28c8c1818a28096f3650c07031774ce1d9 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 11 Dec 2011 12:21:24 -0500 Subject: remove KiB conversion for sizes --- expac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/expac.c b/expac.c index d36bd1e..4bcd601 100644 --- a/expac.c +++ b/expac.c @@ -446,10 +446,10 @@ static int print_pkg(alpm_pkg_t *pkg, const char *format) { /* sizes */ case 'k': /* download size */ - out += printf("%.2f KiB", (float)alpm_pkg_get_size(pkg) / 1024.0); + out += printf("%s", alpm_pkg_get_size(pkg)); break; case 'm': /* install size */ - out += printf("%.2f KiB", (float)alpm_pkg_get_isize(pkg) / 1024.0); + out += printf("%s", alpm_pkg_get_isize(pkg)); break; /* lists */ -- cgit v1.2.3-70-g09d2