Skip to content

Commit

Permalink
tool: fix testdata generator
Browse files Browse the repository at this point in the history
Fixing a compile error introduced by a previous PR.
  • Loading branch information
RaduBerinde committed Sep 8, 2023
1 parent 6f6852d commit 4264a7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/testdata/mixed/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func main() {
// Write some point and range keys.
ks := testkeys.Alpha(1)
b := db.NewBatch()
for i := 0; i < ks.Count(); i++ {
for i := int64(0); i < ks.Count(); i++ {
writePoint(b, testkeys.KeyAt(ks, i, 1))
}
start, end := testkeys.Key(ks, 0), testkeys.Key(ks, ks.Count()-1)
Expand Down

0 comments on commit 4264a7c

Please sign in to comment.