diff --git a/Lib/perl5/perl5.swg b/Lib/perl5/perl5.swg index 0c56ce9cd..ee0f42d7e 100644 --- a/Lib/perl5/perl5.swg +++ b/Lib/perl5/perl5.swg @@ -450,7 +450,7 @@ float, double, const float &, const double & { - $1 = SvNOK($input) ? 1 : 0; + $1 = SvNIOK($input) ? 1 : 0; } %typecheck(SWIG_TYPECHECK_CHAR) char {