Warn for type mismatch for gmx printf like functions 1/3
[alexxy/gromacs.git] / src / gromacs / mdrun / runner.cpp
index 1fa6cfced31a97787565d0e805379ef6adc50c00..b8533410badc058d273f30e7f4a0343cd3a1d3f4 100644 (file)
@@ -299,7 +299,7 @@ static void override_nsteps_cmdline(const gmx::MDLogger &mdlog,
     }
     else if (nsteps_cmdline < -2)
     {
-        gmx_fatal(FARGS, "Invalid nsteps value passed on the command line: %d",
+        gmx_fatal(FARGS, "Invalid nsteps value passed on the command line: %ld",
                   nsteps_cmdline);
     }
     /* Do nothing if nsteps_cmdline == -2 */