From 857617c0efc3d02db7d7c137c4abb20e26d2881b Mon Sep 17 00:00:00 2001 From: Joakim Hove Date: Tue, 3 Nov 2020 19:30:21 +0100 Subject: [PATCH] Cast to avoid warning --- tests/rst_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {