diff options
author | Karl Williamson <khw@cpan.org> | 2020-01-04 10:40:56 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-01-07 11:27:59 -0700 |
commit | 052d914306c3a13afe3fbeb17c8f1c986969f94c (patch) | |
tree | 08f88640bb9c3693215559485c2117cacd370f0f /util.c | |
parent | a3d126f0225c90835e5ccbb36c36919f5e5fbc3b (diff) | |
download | perl-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |