summaryrefslogtreecommitdiff
path: root/src/pacman/package.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-01-10 08:44:23 -0600
committerDan McGee <dan@archlinux.org>2011-01-10 10:50:03 -0600
commit3e1bdfa93c0c0c1a966ba24f8013754a8a87f0ec (patch)
tree7463db4f66e9ded8becb1232a1304353d31ee64e /src/pacman/package.c
parent5f140a62debb7d55436af7f84b0ecf5696f46c86 (diff)
downloadpacman-3e1bdfa93c0c0c1a966ba24f8013754a8a87f0ec.tar.xz
Use double rather than float everywhere
No real need to use the smaller floating point types here. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/package.c')
-rw-r--r--src/pacman/package.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pacman/package.c b/src/pacman/package.c
index 66f21b14..7af38435 100644
--- a/src/pacman/package.c
+++ b/src/pacman/package.c
@@ -106,15 +106,15 @@ void dump_pkg_full(pmpkg_t *pkg, int level)
list_display(_("Replaces :"), alpm_pkg_get_replaces(pkg));
if(level < 0) {
printf(_("Download Size : %6.2f K\n"),
- (float)alpm_pkg_get_size(pkg) / 1024.0);
+ (double)alpm_pkg_get_size(pkg) / 1024.0);
}
if(level == 0) {
printf(_("Compressed Size: %6.2f K\n"),
- (float)alpm_pkg_get_size(pkg) / 1024.0);
+ (double)alpm_pkg_get_size(pkg) / 1024.0);
}
printf(_("Installed Size : %6.2f K\n"),
- (float)alpm_pkg_get_isize(pkg) / 1024.0);
+ (double)alpm_pkg_get_isize(pkg) / 1024.0);
string_display(_("Packager :"), alpm_pkg_get_packager(pkg));
string_display(_("Architecture :"), alpm_pkg_get_arch(pkg));
string_display(_("Build Date :"), bdatestr);