Cast to avoid warning

This commit is contained in:
Joakim Hove 2020-11-03 19:30:21 +01:00
parent c392c24b6d
commit 857617c0ef

View File

@ -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<std::size_t>(report_step)) ) {
std::cout << "Schedule objects were equal!" << std::endl;
std::exit( EXIT_SUCCESS );
} else {