summaryrefslogtreecommitdiff
path: root/ext/Win32CORE
diff options
context:
space:
mode:
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2013-10-04 16:48:40 +0100
committerTony Cook <tony@develop-help.com>2014-06-12 14:27:20 +1000
commitc2b90b61b50912ff59d36bd0dc279930c2b76bf2 (patch)
tree5fa5148a2822eb21f9de30c39490d758ffd524f9 /ext/Win32CORE
parent2b2126557600d964281cf37893d936e401b1a5cc (diff)
downloadperl-c2b90b61b50912ff59d36bd0dc279930c2b76bf2.tar.gz
Change newSVpvn("…", …) to newSVpvs("…")
The dual-life dists affected use Devel::PPPort, so can safely use newSVpvs() even though it wasn't added until Perl v5.8.9.
Diffstat (limited to 'ext/Win32CORE')
-rw-r--r--ext/Win32CORE/Win32CORE.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Win32CORE/Win32CORE.c b/ext/Win32CORE/Win32CORE.c
index 91759e8082..64104d3132 100644
--- a/ext/Win32CORE/Win32CORE.c
+++ b/ext/Win32CORE/Win32CORE.c
@@ -33,7 +33,7 @@ XS(w32_CORE_all){
* subs
*/
const char *function = (const char *) XSANY.any_ptr;
- Perl_load_module(aTHX_ PERL_LOADMOD_NOIMPORT, newSVpvn("Win32",5), newSVnv(0.27));
+ Perl_load_module(aTHX_ PERL_LOADMOD_NOIMPORT, newSVpvs("Win32"), newSVnv(0.27));
SetLastError(err);
errno = saved_errno;
/* mark and SP from caller are passed through unchanged */