summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorJan Dubois <jand@activestate.com>2010-12-15 22:41:47 -0800
committerJan Dubois <jand@activestate.com>2010-12-16 11:24:24 -0800
commit2dcac756b8b2c3b3d7d34174ba27b78fb1c7ba4a (patch)
tree60651f69172e41b6e83652b51230581f422c51c8 /scope.c
parentec0363d9bb05a67dad10a50c9b76b5aba365199a (diff)
downloadperl-2dcac756b8b2c3b3d7d34174ba27b78fb1c7ba4a.tar.gz
Silence some data truncation compiler warnings
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scope.c b/scope.c
index 80846b6897..fb93db0c8d 100644
--- a/scope.c
+++ b/scope.c
@@ -187,7 +187,7 @@ S_save_scalar_at(pTHX_ SV **sptr, const U32 flags)
(SVp_IOK|SVp_NOK|SVp_POK)) >> PRIVSHIFT;
}
if (!(flags & SAVEf_KEEPOLDELEM))
- mg_localize(osv, sv, (flags & SAVEf_SETMAGIC) != 0);
+ mg_localize(osv, sv, cBOOL(flags & SAVEf_SETMAGIC));
}
return sv;