Warn for type mismatch for gmx printf like functions 1/3
[alexxy/gromacs.git] / src / gromacs / fileio / tpxio.cpp
index d59b34b429ec68c483fd36b303812d37fb793276..59a829691aac44983d785a78230b05491d93f75b 100644 (file)
@@ -2600,7 +2600,7 @@ static void do_tpxheader(t_fileio *fio, gmx_bool bRead, t_tpxheader *tpx,
         if ((precision != sizeof(float)) && !bDouble)
         {
             gmx_fatal(FARGS, "Unknown precision in file %s: real is %d bytes "
-                      "instead of %d or %d",
+                      "instead of %lu or %lu",
                       gmx_fio_getname(fio), precision, sizeof(float), sizeof(double));
         }
         gmx_fio_setprecision(fio, bDouble);