Skip to content

Commit

Permalink
Fix casting for MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
mborland committed Apr 4, 2023
1 parent b547ac7 commit 1f3a079
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/simple_continued_fraction_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,9 @@ void test_git_issue_970()
}

// Result is [3; 7, 16]
CHECK_EQUAL(coefs.size(), 3UL);
CHECK_EQUAL(coefs[0], INT64_C(3));
CHECK_EQUAL(coefs[1], INT64_C(7));
CHECK_EQUAL(coefs[2], INT64_C(16));
CHECK_EQUAL(coefs[0], static_cast<std::int64_t>(3));
CHECK_EQUAL(coefs[1], static_cast<std::int64_t>(7));
CHECK_EQUAL(coefs[2], static_cast<std::int64_t>(16));
}

int main()
Expand Down

0 comments on commit 1f3a079

Please sign in to comment.