Warn for type mismatch for gmx printf like functions 3/3
[alexxy/gromacs.git] / src / gromacs / fileio / tpxio.cpp
index fa44d4ed05b62be066f5a88bf8d1724108d6532f..364bddea2164afbd740d7645dd959b9383421fb7 100644 (file)
@@ -2599,7 +2599,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 %lu or %lu",
+                      "instead of %zu or %zu",
                       gmx_fio_getname(fio), precision, sizeof(float), sizeof(double));
         }
         gmx_fio_setprecision(fio, bDouble);