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:
parent
8660e59a5f
commit
3974c39b69
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue