From e4d02d20ad8900cc1c1df4dd3d8dbdcaa578b53a Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Thu, 23 Apr 2015 19:21:59 +0100 Subject: [PATCH] Warning fix for VC++ --- Source/Modules/python.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;