Skip to content

Commit

Permalink
Update roaring64/roaringarray64_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Lemire <[email protected]>
  • Loading branch information
bearrito and lemire authored Jun 25, 2024
1 parent 23ba605 commit a2e7f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roaring64/roaringarray64_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
func TestRoaringArray64AdvanceUntil(t *testing.T) {
bitmap := New()
low := 1 << 32

Check failure on line 11 in roaring64/roaringarray64_test.go

View workflow job for this annotation

GitHub Actions / test (1.14.x, ubuntu-latest)

constant 4294967296 overflows int
mid := 2 << 32
mid := uint64(2) << 32
high := 3 << 32

Check failure on line 13 in roaring64/roaringarray64_test.go

View workflow job for this annotation

GitHub Actions / test (1.14.x, ubuntu-latest)

constant 12884901888 overflows int
bitmap.AddRange(uint64(low)-1, uint64(low)+2)
bitmap.AddRange(uint64(mid)-1, uint64(mid)+2)
Expand Down

0 comments on commit a2e7f22

Please sign in to comment.