Manage compiler flags and some include options per file or target, not globally
[alexxy/gromacs.git] / src / gromacs / topology / block.h
index 68a99a6b807ed36fc44f44795907d0e629046065..f047f6680946b765bd9a1f5b9b3e69e10fa53207 100644 (file)
@@ -117,7 +117,7 @@ class RangePartitioning
         /*! \brief Returns the number of blocks */
         int numBlocks() const
         {
-            return index_.size() - 1;
+            return static_cast<int>(index_.size() - 1);
         }
 
         /*! \brief Returns the size of the block with index \p blockIndex */