diff --git a/tests/rst_test.cpp b/tests/rst_test.cpp index 4b986751b..8f23f2ac8 100644 --- a/tests/rst_test.cpp +++ b/tests/rst_test.cpp @@ -100,7 +100,7 @@ int main(int argc, char ** argv) { const auto& sched = load_schedule(python, argv[1]); const auto& rst_sched = load_schedule(python, argv[2], report_step); - if (Opm::Schedule::cmp(sched, rst_sched, report_step) ) { + if (Opm::Schedule::cmp(sched, rst_sched, static_cast(report_step)) ) { std::cout << "Schedule objects were equal!" << std::endl; std::exit( EXIT_SUCCESS ); } else {