Fix compiler warnings on windows
[alexxy/gromacs.git] / src / gromacs / topology / idef.h
index b346e96fe303f3e587f180c86741b03560232590..e19e976c6425ff5487a850666ddf01ec1eb39fe9 100644 (file)
@@ -220,7 +220,7 @@ typedef int t_functype;
 struct InteractionList
 {
     /* Returns the total number of elements in iatoms */
-    int size() const { return gmx::ssize(iatoms); }
+    int size() const { return static_cast<int>(iatoms.size()); }
 
     /* List of interactions, see explanation further down */
     std::vector<int> iatoms;