Skip to content

Commit d1cc1fa

Browse files
committed
internal/arenaskl: use right type in argument to testkeys.Key
1 parent e517734 commit d1cc1fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/arenaskl/skl_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ func randomTestkeysSkiplist(rng *rand.Rand, size int) (*Skiplist, [][]byte) {
685685
ks := testkeys.Alpha(5)
686686
keys := make([][]byte, 2*size+1)
687687
for i := range keys {
688-
keys[i] = testkeys.Key(ks, int64(i))
688+
keys[i] = testkeys.Key(ks, uint64(i))
689689
}
690690
slices.SortFunc(keys, testkeys.Comparer.Compare)
691691

0 commit comments

Comments
 (0)