mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-22 05:27:23 +08:00
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 (
|
||||
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) {
|
||||
|
Reference in New Issue
Block a user