diff --git a/src/util.h b/src/util.h index bdf0c58d..5c500410 100755 --- a/src/util.h +++ b/src/util.h @@ -139,7 +139,7 @@ public: const bool bDoAdding = true ); // this function simply converts the type of size to integer - inline int Size() const { return std::vector::size(); } + inline int Size() const { return static_cast ( std::vector::size() ); } // This operator allows for a l-value assignment of this object: // CVector[x] = y is possible