Update clang-tidy to clang version 8
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / grompp.cpp
index 0b30620662926759f9a515686abdbc6fb0556c8f..4165fb295f81d36ebb73ba0afad630b484f36740 100644 (file)
@@ -1982,7 +1982,7 @@ int gmx_grompp(int argc, char *argv[])
 
     /* If we are doing QM/MM, check that we got the atom numbers */
     have_atomnumber = TRUE;
-    for (int i = 0; i < gmx::ssize(atypes); i++)
+    for (gmx::index i = 0; i < gmx::ssize(atypes); i++)
     {
         have_atomnumber = have_atomnumber && (atypes.atomNumberFromAtomType(i) >= 0);
     }