From 1f3a079945476fbf57e9548c03e58ad120ccecc0 Mon Sep 17 00:00:00 2001 From: Matt Borland Date: Tue, 4 Apr 2023 16:16:57 +0200 Subject: [PATCH] Fix casting for MSVC --- test/simple_continued_fraction_test.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/simple_continued_fraction_test.cpp b/test/simple_continued_fraction_test.cpp index 9f06aad2cf..65afef59c7 100644 --- a/test/simple_continued_fraction_test.cpp +++ b/test/simple_continued_fraction_test.cpp @@ -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(3)); + CHECK_EQUAL(coefs[1], static_cast(7)); + CHECK_EQUAL(coefs[2], static_cast(16)); } int main()