diff options
author | Steve Peters <steve@fisharerojo.org> | 2006-08-09 21:54:08 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2006-08-09 21:54:08 +0000 |
commit | d3fcec1f5f130b835b047ac0302818509dc560b9 (patch) | |
tree | e9eb93ca5c44ba7e51942e74da212b910675ae87 /pp_sort.c | |
parent | 8f42a9ec3299cd50ce2bd4c01cf806c12d9fb96d (diff) | |
download | perl-d3fcec1f5f130b835b047ac0302818509dc560b9.tar.gz |
A couple const's and a cast to get Sun CC to compile these files.
Perl, however, still will not build with the Sun CC.
p4raw-id: //depot/perl@28686
Diffstat (limited to 'pp_sort.c')
-rw-r--r-- | pp_sort.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1695,9 +1695,9 @@ PP(pp_sort) : ( overloading ? S_amagic_ncmp : S_sv_ncmp ) ) : ( IN_LOCALE_RUNTIME ? ( overloading - ? S_amagic_cmp_locale - : sv_cmp_locale_static) - : ( overloading ? S_amagic_cmp : sv_cmp_static)), + ? (SVCOMPARE_t)S_amagic_cmp_locale + : (SVCOMPARE_t)sv_cmp_locale_static) + : ( overloading ? (SVCOMPARE_t)S_amagic_cmp : (SVCOMPARE_t)sv_cmp_static)), sort_flags); } if ((priv & OPpSORT_REVERSE) != 0) { |