specify constant data type to uint64 instead of default int
fix https://github.com/chrislusf/seaweedfs/issues/1324
This commit is contained in:
@@ -12,7 +12,7 @@ type OffsetHigher struct {
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
OffsetSize = 4 + 1
|
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) {
|
func OffsetToBytes(bytes []byte, offset Offset) {
|
||||||
|
|||||||
Reference in New Issue
Block a user