From 11b33c07606b1c2d1fd4a921cc53dbca10a36916 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 18 May 2020 10:53:31 -0700 Subject: [PATCH] fix compilation problem --- weed/storage/types/offset_4bytes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {