specify constant data type to uint64 instead of default int

fix https://github.com/chrislusf/seaweedfs/issues/1324
This commit is contained in:
Chris Lu
2020-05-19 07:55:23 -07:00
parent 11b33c0760
commit 7ff2b0121d

View File

@@ -12,7 +12,7 @@ type OffsetHigher struct {
const (
OffsetSize = 4 + 1
MaxPossibleVolumeSize = 4 * 1024 * 1024 * 1024 * 8 * 256 /* 256 is from the extra byte */ // 8TB
MaxPossibleVolumeSize uint64 = 4 * 1024 * 1024 * 1024 * 8 * 256 /* 256 is from the extra byte */ // 8TB
)
func OffsetToBytes(bytes []byte, offset Offset) {