summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-08-29 20:22:21 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-08-29 20:22:21 +0000
commite8f49695ec8338ebf4a555064783fc9db1320cdd (patch)
treef7ce97d5aae3656b47c01a1ebe31c3835a932792 /pp.c
parent059a10146419a6f49976e2c5f746a49407194e27 (diff)
downloadperl-e8f49695ec8338ebf4a555064783fc9db1320cdd.tar.gz
Don't cast PL_multiline to bool : you may loose important bits.
p4raw-id: //depot/perl@20938
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp.c b/pp.c
index 5cb176ff23..c431ffad51 100644
--- a/pp.c
+++ b/pp.c
@@ -4434,7 +4434,7 @@ PP(pp_split)
s++;
}
}
- if ((bool)(pm->op_pmflags & PMf_MULTILINE) != (bool)PL_multiline) {
+ if ((int)(pm->op_pmflags & PMf_MULTILINE) != PL_multiline) {
SAVEINT(PL_multiline);
PL_multiline = pm->op_pmflags & PMf_MULTILINE;
}