Skip to content

Commit 3a1789b

Browse files
committed
fixup
1 parent ac2d26f commit 3a1789b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

serialization/serialization.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ func (f *Format) String() (text string) {
4949
}
5050

5151
func (f *Format) stringParts() (parts []string) {
52-
5352
parts = append(parts, fmt.Sprintf("Format (Size: %d, LastNonIgnorableField: %d)",
5453
f.Size, f.LastNonIgnorableField))
5554

@@ -225,7 +224,7 @@ func Unmarshal(data []byte, v interface{}) error {
225224
m.Fields[i].Skipped = true
226225
continue
227226
}
228-
m.Fields[i].ID = uint8(data[pos] >> 1)
227+
m.Fields[i].ID = data[pos] >> 1
229228
pos++
230229
var n uint64
231230
var err error

0 commit comments

Comments
 (0)