aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-05-18 10:53:31 -0700
committerChris Lu <chris.lu@gmail.com>2020-05-18 10:53:31 -0700
commit11b33c07606b1c2d1fd4a921cc53dbca10a36916 (patch)
tree8e52fc7fae2f3e8e7ae5b5836415436f9725a8b7
parentac48c899e8ccf959940b11033c2222796519386f (diff)
downloadseaweedfs-11b33c07606b1c2d1fd4a921cc53dbca10a36916.tar.xz
seaweedfs-11b33c07606b1c2d1fd4a921cc53dbca10a36916.zip
fix compilation problem1.78
-rw-r--r--weed/storage/types/offset_4bytes.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/types/offset_4bytes.go b/weed/storage/types/offset_4bytes.go
index 9acd069d3..ded5b88cb 100644
--- a/weed/storage/types/offset_4bytes.go
+++ b/weed/storage/types/offset_4bytes.go
@@ -12,7 +12,7 @@ type OffsetHigher struct {
const (
OffsetSize = 4
- MaxPossibleVolumeSize = 4 * 1024 * 1024 * 1024 * 8 // 32GB
+ MaxPossibleVolumeSize uint64 = 4 * 1024 * 1024 * 1024 * 8 // 32GB
)
func OffsetToBytes(bytes []byte, offset Offset) {