summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-08-29 13:25:18 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-08-29 13:25:18 +0000
commit77bec9fddc602cc32f38ac3764e937132ca61b3c (patch)
tree4d56412d590e00711fa2ed6ff7549eb493d2fbb8 /pp_hot.c
parentb987f19e219b07e9026d811cab67a37914a0d952 (diff)
downloadperl-77bec9fddc602cc32f38ac3764e937132ca61b3c.tar.gz
Comparing an int to a U32 makes VC6 nervous.
p4raw-id: //depot/perl@20933
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pp_hot.c b/pp_hot.c
index 765f091979..c70b2270b7 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -1234,7 +1234,7 @@ PP(pp_match)
if (SvSCREAM(TARG))
r_flags |= REXEC_SCREAM;
- if ((pm->op_pmflags & PMf_MULTILINE) != PL_multiline) {
+ if ((bool)(pm->op_pmflags & PMf_MULTILINE) != (bool)PL_multiline) {
SAVEINT(PL_multiline);
PL_multiline = pm->op_pmflags & PMf_MULTILINE;
}
@@ -1979,7 +1979,7 @@ PP(pp_subst)
? REXEC_COPY_STR : 0;
if (SvSCREAM(TARG))
r_flags |= REXEC_SCREAM;
- if ((pm->op_pmflags & PMf_MULTILINE) != PL_multiline) {
+ if ((bool)(pm->op_pmflags & PMf_MULTILINE) != (bool)PL_multiline) {
SAVEINT(PL_multiline);
PL_multiline = pm->op_pmflags & PMf_MULTILINE;
}