mirror of https://github.com/minio/minio.git
Remove redundant uint32
This commit is contained in:
parent
9553eb6b4a
commit
9e89af0e3c
|
@ -89,7 +89,7 @@ func Write(target io.Writer, key string, part uint8, length uint32, k, m uint8,
|
|||
encoder.Encode(header)
|
||||
|
||||
// write version
|
||||
binary.Write(target, binary.LittleEndian, uint32(Version))
|
||||
binary.Write(target, binary.LittleEndian, Version)
|
||||
|
||||
// write encoded header
|
||||
if _, err := io.Copy(target, &headerBuffer); err != nil {
|
||||
|
|
Loading…
Reference in New Issue