We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f94f68 commit fb0cdb8Copy full SHA for fb0cdb8
table/table.go
@@ -432,7 +432,7 @@ func (t *Table) block(idx int) (*block, error) {
432
433
func (t *Table) blockCacheKey(idx int) uint64 {
434
y.AssertTrue(t.ID() < math.MaxUint32)
435
- y.AssertTrue(idx < math.MaxUint32)
+ y.AssertTrue(uint32(idx) < math.MaxUint32)
436
return (t.ID() << 32) | uint64(idx)
437
}
438
0 commit comments