Update clang-tidy to clang version 8
[alexxy/gromacs.git] / src / gromacs / nbnxm / pairlistsets.h
index 41e8dc25b50465102a88c8724a099867ffc598b7..2cf5c41cf9f824f699464513705852812fe84e89 100644 (file)
@@ -89,7 +89,7 @@ class PairlistSets
         //! Returns the number of steps performed with the current pair list
         int numStepsWithPairlist(int64_t step) const
         {
-            return step - outerListCreationStep_;
+            return static_cast<int>(step - outerListCreationStep_);
         }
 
         //! Returns whether step is a dynamic list pruning step, for CPU lists