Perl and vc++ warning fix

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12504 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2011-02-20 18:37:46 +00:00
commit 3974c39b69

View file

@ -195,7 +195,7 @@ as follows :
if (!SvIOK(tempsv)) {
SWIG_croak("expected a integer reference");
}
dvalue = (bool) SvIV(tempsv);
dvalue = SvIV(tempsv) ? true : false;
$1 = &dvalue;
}