summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-05-17 22:43:18 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-05-17 22:43:18 +0200
commit76a1ba5f056fbdce14054128faedb0512bfee2d0 (patch)
tree41988cb3e195cf6d4bc9e7cfc22923d8efae9372 /lib
parent2f99841240904b6a487c9216b410e3e34e8506ac (diff)
Begin work on App::Hashl tests
Diffstat (limited to 'lib')
-rw-r--r--lib/App/Hashl.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/App/Hashl.pm b/lib/App/Hashl.pm
index 3f9bfa7..58af4a6 100644
--- a/lib/App/Hashl.pm
+++ b/lib/App/Hashl.pm
@@ -51,7 +51,7 @@ sub si_size {
my ($self, $bytes) = @_;
my @post = (' ', qw(k M G T));
- while ($bytes > 1024) {
+ while ($bytes >= 1024) {
$bytes /= 1024;
shift @post;
}