Skip to content

Commit

Permalink
Fixed max->min
Browse files Browse the repository at this point in the history
  • Loading branch information
robehn committed Dec 13, 2024
1 parent 2705301 commit 9c06591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/hotspot/gtest/riscv/test_assembler_riscv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ static void plain_cmpxchg_test(int variant, TESTSIZE dv, TESTSIZE ex, TESTSIZE n
template <typename TESTSIZE, Assembler::operand_size ASMSIZE>
static void run_plain_cmpxchg_tests() {
TESTSIZE max = std::numeric_limits<TESTSIZE>::max();
TESTSIZE min = std::numeric_limits<TESTSIZE>::max();
TESTSIZE min = std::numeric_limits<TESTSIZE>::min();
TESTSIZE val[] = {1337, min, max};
for (int i = 0; i < 3; i++) {
// Normal
Expand Down

0 comments on commit 9c06591

Please sign in to comment.