From 9e89af0e3c86364104fa0e1a12e4dda1c2ed8c99 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Sat, 7 Mar 2015 19:15:51 -0800 Subject: [PATCH] Remove redundant uint32 --- pkg/storage/donut/erasure/erasure1/erasure.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/storage/donut/erasure/erasure1/erasure.go b/pkg/storage/donut/erasure/erasure1/erasure.go index a40da6844..c911bed1f 100644 --- a/pkg/storage/donut/erasure/erasure1/erasure.go +++ b/pkg/storage/donut/erasure/erasure1/erasure.go @@ -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 {