Permalink
Browse files

remove KiB conversion for sizes

  • Loading branch information...
1 parent 261c9a9 commit 05e3ad28c8c1818a28096f3650c07031774ce1d9 @falconindy committed Dec 11, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 expac.c
View
@@ -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 */

0 comments on commit 05e3ad2

Please sign in to comment.