From: Jarkko Hietaniemi Date: Wed, 28 Mar 2001 15:09:23 +0000 (+0000) Subject: pp_ne() needs a boolean, not an integer. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1630394965e6186de84f9821bf81a70e4d4b3648;p=p5sagit%2Fp5-mst-13.2.git pp_ne() needs a boolean, not an integer. p4raw-id: //depot/perl@9404 --- diff --git a/pp.c b/pp.c index 4d45db4..f7f89e1 100644 --- a/pp.c +++ b/pp.c @@ -1713,10 +1713,10 @@ PP(pp_ge) PP(pp_ne) { - dSP; dTARGET; tryAMAGICbinSET(ne,0); + dSP; tryAMAGICbinSET(ne,0); #ifndef NV_PRESERVES_UV if (SvROK(TOPs) && SvROK(TOPm1s)) { - SETi(PTR2UV(SvRV(TOPs)) - PTR2UV(SvRV(TOPm1s))); + SETs(boolSV(SvRV(TOPs) == SvRV(TOPm1s))); RETURN; } #endif