Fix part of old-style casting
[alexxy/gromacs.git] / src / gromacs / mdrun / runner.cpp
index 2af472700861fd301538f8dc27b7ae56f81b9085..495c89d21f10e02f1f19b627176ef8f9a611d342 100644 (file)
@@ -1398,7 +1398,7 @@ int Mdrunner::mdrunner()
         gmx_fedisableexcept();
     }
 
-    rc = (int)gmx_get_stop_condition();
+    rc = static_cast<int>(gmx_get_stop_condition());
 
 #if GMX_THREAD_MPI
     /* we need to join all threads. The sub-threads join when they