Skip to content

Commit 1f3a079

Browse files
committed
Fix casting for MSVC
1 parent b547ac7 commit 1f3a079

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/simple_continued_fraction_test.cpp

+3-4
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,9 @@ void test_git_issue_970()
159159
}
160160

161161
// Result is [3; 7, 16]
162-
CHECK_EQUAL(coefs.size(), 3UL);
163-
CHECK_EQUAL(coefs[0], INT64_C(3));
164-
CHECK_EQUAL(coefs[1], INT64_C(7));
165-
CHECK_EQUAL(coefs[2], INT64_C(16));
162+
CHECK_EQUAL(coefs[0], static_cast<std::int64_t>(3));
163+
CHECK_EQUAL(coefs[1], static_cast<std::int64_t>(7));
164+
CHECK_EQUAL(coefs[2], static_cast<std::int64_t>(16));
166165
}
167166

168167
int main()

0 commit comments

Comments
 (0)