Skip to content

Commit d75558d

Browse files
committed
Remove unnecessary conversion
1 parent 939c1fe commit d75558d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

decoder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ func (d *decoder) decodePointer(
490490
if pointerSize == 4 {
491491
prefix = 0
492492
} else {
493-
prefix = uint(size & 0x7)
493+
prefix = size & 0x7
494494
}
495495
unpacked := uintFromBytes(prefix, pointerBytes)
496496

0 commit comments

Comments
 (0)