Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
Tea Age committed Jan 2, 2021
1 parent e8b4f14 commit eb26a15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/decoder/bareDecoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func (p *Bare) Read(b []byte) (n int, err error) {
}
head := int(p.readU32(p.syncBuffer[0:4]))

if 0x89abcdef == head { // sync trice
if 0x89abcdef == uint(head) { // sync trice
p.rub(4)
continue
}
Expand Down

0 comments on commit eb26a15

Please sign in to comment.