Skip to content

Commit

Permalink
Tests: fix CodeQL alert 28
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosame committed Jun 30, 2024
1 parent a25c5b3 commit db6955c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ private int doTweak(Runnable r, SetDelayable delayable) {
if (state == 0) {
throw new IllegalArgumentException("Timed out - proabably indicates failure");
}
delay += delayInc + (curr - start - delay) / 8;
delay += delayInc + (int) (curr - start - delay) / 8;
delayInc += delayIncInc;
}
ret |= state;
Expand Down

0 comments on commit db6955c

Please sign in to comment.