From 5c3bc50764a82760b1c958d6119840f917d1df98 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Thu, 22 Mar 2018 20:47:08 +0000 Subject: [PATCH] fixed a compiler warning --- src/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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