diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-05-17 22:43:18 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-05-17 22:43:18 +0200 |
commit | 76a1ba5f056fbdce14054128faedb0512bfee2d0 (patch) | |
tree | 41988cb3e195cf6d4bc9e7cfc22923d8efae9372 /lib | |
parent | 2f99841240904b6a487c9216b410e3e34e8506ac (diff) |
Begin work on App::Hashl tests
Diffstat (limited to 'lib')
-rw-r--r-- | lib/App/Hashl.pm | 2 |
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; } |