From 20134c21823b8f2fb1802848b51650814a4ee946 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Fri, 2 Dec 2005 08:41:34 +0000 Subject: [PATCH] fix gcc warning git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7916 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/typemaps/swigmacros.swg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/typemaps/swigmacros.swg b/Lib/typemaps/swigmacros.swg index 70ebdf31d..7840b4b2d 100644 --- a/Lib/typemaps/swigmacros.swg +++ b/Lib/typemaps/swigmacros.swg @@ -136,7 +136,7 @@ nocppval %insert("header") { %define_as(SWIG_as_voidptr(a), %const_cast(%static_cast(a,const void *), void *)) - %define_as(SWIG_as_voidptrptr(a), (%as_voidptr(*a),%reinterpret_cast(a, void**))) + %define_as(SWIG_as_voidptrptr(a), ((void)%as_voidptr(*a),%reinterpret_cast(a, void**))) }