From ac03ff6f055ef2bd9404a30a0c257fdd2722eafe Mon Sep 17 00:00:00 2001 From: Taylor Gerring Date: Wed, 1 Apr 2015 15:44:09 +0200 Subject: Fix block size output #613 --- common/size.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common/size.go') diff --git a/common/size.go b/common/size.go index b5c0b0b3f..0d9dbf558 100644 --- a/common/size.go +++ b/common/size.go @@ -17,6 +17,10 @@ func (self StorageSize) String() string { } } +func (self StorageSize) Int64() int64 { + return int64(self) +} + // The different number of units var ( Douglas = BigPow(10, 42) -- cgit