diff --git a/Source/Modules/python.cxx b/Source/Modules/python.cxx index ca9e7f2ba..c85e3b9cd 100644 --- a/Source/Modules/python.cxx +++ b/Source/Modules/python.cxx @@ -1835,7 +1835,7 @@ public: * ------------------------------------------------------------ */ static bool isPointerType(SwigType* t) { SwigType* const full_type = SwigType_typedef_resolve_all(t); - bool const ispointer = SwigType_ispointer(full_type); + bool ispointer = SwigType_ispointer(full_type) ? true : false; Delete(full_type); return ispointer;