diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-06-10 22:06:15 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-06-10 22:06:15 +0000 |
commit | 349d4f2f3d114fbec6897c6007862eb07a409a2d (patch) | |
tree | a43bbcb031855718e48d719d10f6ef5ec6f3752d /pp_sort.c | |
parent | 93524f2be2dba9389167a137d53a88545322b55e (diff) | |
download | perl-349d4f2f3d114fbec6897c6007862eb07a409a2d.tar.gz |
More SvPV consting, including some code cleanup and living dangerously
with socket API calls.
p4raw-id: //depot/perl@24799
Diffstat (limited to 'pp_sort.c')
-rw-r--r-- | pp_sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1526,7 +1526,7 @@ PP(pp_sort) else { cv = sv_2cv(*++MARK, &stash, &gv, 0); if (cv && SvPOK(cv)) { - char *proto = SvPV_nolen((SV*)cv); + const char *proto = SvPV_nolen_const((SV*)cv); if (proto && strEQ(proto, "$$")) { hasargs = TRUE; } |