diff --git a/Lib/python/pycontainer.swg b/Lib/python/pycontainer.swg index 2f196d7a8..b2908e003 100644 --- a/Lib/python/pycontainer.swg +++ b/Lib/python/pycontainer.swg @@ -453,7 +453,7 @@ namespace swig size_type size() const { - return PySequence_Size(_seq); + return static_cast(PySequence_Size(_seq)); } bool empty() const