Fix ICC warnings
[alexxy/gromacs.git] / src / gromacs / mdlib / shakef.c
index ab09ea47b7afd7b1bd1f84b23cce2f622d93eaf2..46030d0cbc433debf1702cfc697b04afd36dcd41 100644 (file)
  * To help us fund GROMACS development, we humbly ask that you cite
  * the research papers on the package. Check out http://www.gromacs.org.
  */
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "gmxpre.h"
 
 #include <math.h>
-#include "sysstuff.h"
-#include "typedefs.h"
+
+#include "gromacs/legacyheaders/constr.h"
+#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/vec.h"
 #include "gromacs/utility/smalloc.h"
-#include "pbc.h"
-#include "txtdump.h"
-#include "vec.h"
-#include "nrnb.h"
-#include "constr.h"
 
 typedef struct gmx_shakedata
 {
@@ -264,11 +261,11 @@ int vec_shakef(FILE *fplog, gmx_shakedata_t shaked,
         if (fplog)
         {
             fprintf(fplog, "Inner product between old and new vector <= 0.0!\n"
-                    "constraint #%d atoms %u and %u\n",
+                    "constraint #%d atoms %d and %d\n",
                     error-1, iatom[3*(error-1)+1]+1, iatom[3*(error-1)+2]+1);
         }
         fprintf(stderr, "Inner product between old and new vector <= 0.0!\n"
-                "constraint #%d atoms %u and %u\n",
+                "constraint #%d atoms %d and %d\n",
                 error-1, iatom[3*(error-1)+1]+1, iatom[3*(error-1)+2]+1);
         nit = 0;
     }