diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-02-14 16:04:35 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-02-14 16:32:29 +0000 |
commit | 1c90055717b05b3f652bf543a46419001314c53e (patch) | |
tree | e6eac2f381180ba4613ffe3befb4373fe9ea4ad6 /mg.c | |
parent | 777f7c561610dee641c77666e5a4a0d9ac1d4230 (diff) | |
download | perl-1c90055717b05b3f652bf543a46419001314c53e.tar.gz |
Remove a vestigial STRLEN case and convert a label to lowercase.
(Tweaking 777f7c561610dee6.)
Diffstat (limited to 'mg.c')
-rw-r--r-- | mg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2020,7 +2020,7 @@ Perl_magic_getsubstr(pTHX_ SV *sv, MAGIC *mg) offs = len; if (rem > len - offs) rem = len - offs; - sv_setpvn(sv, tmps + offs, (STRLEN)rem); + sv_setpvn(sv, tmps + offs, rem); if (SvUTF8(lsv)) SvUTF8_on(sv); return 0; |