Update clang-tidy to clang version 8
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / vsite_parm.cpp
index b33fcf8f85b0005281411a6d215dbcc3e53e80b4..a54f64b0fff1e9c3c8698056838c3233f4769a32 100644 (file)
@@ -1521,7 +1521,7 @@ void clean_vsite_bondeds(gmx::ArrayRef<InteractionsOfType> plist, int natoms, bo
             if ((interaction_function[ftype].flags & IF_VSITE) &&
                 ftype != F_VSITEN)
             {
-                for (int interactionIndex = 0;
+                for (gmx::index interactionIndex = 0;
                      interactionIndex < gmx::ssize(plist[ftype]);
                      interactionIndex++)
                 {