Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public long nextLong(long min, long max) {
}

private int fastChooseIntInRange(int min, int max) {
int range = max - min;
int range = max - min + 1;

// If range is too wide, overflow will make it negative
if (range > 0) {
Expand Down