From: Rafael Garcia-Suarez Date: Fri, 18 Aug 2006 15:46:18 +0000 (+0000) Subject: A type change that apparently works around a compiler bug X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ea5195b749dcc39981859e3ccebcd4b40b26b0bd;p=p5sagit%2Fp5-mst-13.2.git A type change that apparently works around a compiler bug (gcc 4.1.1 on Solaris) (by Robin Barker) p4raw-id: //depot/perl@28735 --- diff --git a/pp_hot.c b/pp_hot.c index aa792bf..32274ff 100644 --- a/pp_hot.c +++ b/pp_hot.c @@ -417,7 +417,7 @@ PP(pp_defined) register SV* sv; bool defined; const int op_type = PL_op->op_type; - const int is_dor = (op_type == OP_DOR || op_type == OP_DORASSIGN); + const bool is_dor = (op_type == OP_DOR || op_type == OP_DORASSIGN); if (is_dor) { sv = TOPs;