summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-08-18 15:46:18 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-08-18 15:46:18 +0000
commitea5195b749dcc39981859e3ccebcd4b40b26b0bd (patch)
treea0b129a5ca6eea1ad1709a20dffd30e5262f020b
parenta0c21aa16d2e2969e7469365a39ad48179751e84 (diff)
downloadperl-ea5195b749dcc39981859e3ccebcd4b40b26b0bd.tar.gz
A type change that apparently works around a compiler bug
(gcc 4.1.1 on Solaris) (by Robin Barker) p4raw-id: //depot/perl@28735
-rw-r--r--pp_hot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_hot.c b/pp_hot.c
index aa792bfe97..32274ffb27 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;