Warn for type mismatch for gmx printf like functions 1/3
[alexxy/gromacs.git] / src / gromacs / correlationfunctions / autocorr.cpp
index a9681ce2150925b99e588144af05bc96a6e83e49..61dc522a28222d2b64019cc21b65958219c0664c 100644 (file)
@@ -231,7 +231,7 @@ static void do_ac_core(int nframes, int nout,
             }
             else
             {
-                gmx_fatal(FARGS, "\nInvalid mode (%d) in do_ac_core", mode);
+                gmx_fatal(FARGS, "\nInvalid mode (%lu) in do_ac_core", mode);
             }
         }
     }
@@ -519,7 +519,7 @@ static void do_four_core(unsigned long mode, int nframes,
     }
     else
     {
-        gmx_fatal(FARGS, "\nUnknown mode in do_autocorr (%d)", mode);
+        gmx_fatal(FARGS, "\nUnknown mode in do_autocorr (%lu)", mode);
     }
 
     sfree(cfour);