summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-01-04 10:40:56 -0700
committerKarl Williamson <khw@cpan.org>2020-01-07 11:27:59 -0700
commit052d914306c3a13afe3fbeb17c8f1c986969f94c (patch)
tree08f88640bb9c3693215559485c2117cacd370f0f /util.c
parenta3d126f0225c90835e5ccbb36c36919f5e5fbc3b (diff)
downloadperl-052d914306c3a13afe3fbeb17c8f1c986969f94c.tar.gz
Change len param in savepvn to Size_t from I32
We handle longer strings than 31 bits.
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index a88cc1155d..4cafafd598 100644
--- a/util.c
+++ b/util.c
@@ -1088,7 +1088,7 @@ need to use the shared memory functions, such as C<L</savesharedpvn>>.
*/
char *
-Perl_savepvn(pTHX_ const char *pv, I32 len)
+Perl_savepvn(pTHX_ const char *pv, Size_t len)
{
char *newaddr;
PERL_UNUSED_CONTEXT;