summaryrefslogtreecommitdiff
path: root/pp_sort.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2016-08-10 13:00:51 -0700
committerFather Chrysostomos <sprout@cpan.org>2016-08-10 13:00:51 -0700
commitff859a7f357d88ad4be3a66f1d07faa2ae291fa0 (patch)
tree17c9b20a6154991b0d0caa02474fb73e06c1a9bc /pp_sort.c
parent7fc4e712bcb917c5efc3b8c89fdde419f1a8d44f (diff)
downloadperl-ff859a7f357d88ad4be3a66f1d07faa2ae291fa0.tar.gz
pp_sort.c: Missing cast
This is a compilation error under C++.
Diffstat (limited to 'pp_sort.c')
-rw-r--r--pp_sort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_sort.c b/pp_sort.c
index b68e80cd03..4f0553b808 100644
--- a/pp_sort.c
+++ b/pp_sort.c
@@ -1596,7 +1596,7 @@ PP(pp_sort)
/* shuffle stack down, removing optional initial cv (p1!=p2), plus
* any nulls; also stringify or converting to integer or number as
* required any args */
- copytmps = PL_sortcop;
+ copytmps = cBOOL(PL_sortcop);
for (i=max; i > 0 ; i--) {
if ((*p1 = *p2++)) { /* Weed out nulls. */
if (copytmps && SvPADTMP(*p1)) {