Commit 10590878 authored by Stefan Gerlach's avatar Stefan Gerlach

[test] help MSVC to deduce correct type

parent 39b896c5
......@@ -179,7 +179,7 @@ void NSLGeomTest::testLineSim() {
QCOMPARE(aerr, 0.2);
// nout can be up to 10 when third arg of nsl_geom_linesim_visvalingam_whyatt() is 10
for (i = 0; i < std::min(nout, 6uL); ++i)
for (i = 0; i < std::min(nout, (size_t)6uL); ++i)
QCOMPARE(index[i], result3[i]);
const size_t result5[] = {0, 2, 3, 5, 6, 7, 9};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment