Index: src/github.com/knoxite/knoxite/lib/stat_unix.go
--- src/github.com/knoxite/knoxite/lib/stat_unix.go.orig	2018-01-27 23:46:33.000000000 +0100
+++ src/github.com/knoxite/knoxite/lib/stat_unix.go	2018-01-27 23:53:29.071002000 +0100
@@ -13,13 +13,13 @@
 
 type statUnix syscall.Stat_t
 
-func (s statUnix) dev() uint64   { return s.Dev }
-func (s statUnix) ino() uint64   { return s.Ino }
-func (s statUnix) nlink() uint64 { return s.Nlink }
-func (s statUnix) uid() uint32   { return s.Uid }
-func (s statUnix) gid() uint32   { return s.Gid }
-func (s statUnix) rdev() uint64  { return s.Rdev }
-func (s statUnix) size() int64   { return s.Size }
+func (s statUnix) dev() uint64   { return uint64(s.Dev) }
+func (s statUnix) ino() uint64   { return uint64(s.Ino) }
+func (s statUnix) nlink() uint64 { return uint64(s.Nlink) }
+func (s statUnix) uid() uint32   { return uint32(s.Uid) }
+func (s statUnix) gid() uint32   { return uint32(s.Gid) }
+func (s statUnix) rdev() uint64  { return uint64(s.Rdev) }
+func (s statUnix) size() int64   { return int64(s.Size) }
 
 func toStatT(i interface{}) (statT, bool) {
 	if i == nil {
Index: src/github.com/knoxite/knoxite/lib/storage_local_unix.go
--- src/github.com/knoxite/knoxite/lib/storage_local_unix.go.orig	2018-01-27 23:46:33.000000000 +0100
+++ src/github.com/knoxite/knoxite/lib/storage_local_unix.go	2018-01-27 23:55:02.061559000 +0100
@@ -21,5 +21,5 @@
 	}
 
 	// Available blocks * size per block = available space in bytes
-	return stat.Bavail * uint64(stat.Bsize), nil
+	return uint64(stat.Bavail) * uint64(stat.Bsize), nil
 }
