summaryrefslogtreecommitdiff
path: root/mathoms.c
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2017-12-16 01:44:32 +0000
committerZefram <zefram@fysh.org>2017-12-16 01:47:27 +0000
commite1b825c19be2a160b0a3b633eb68e8d61887d21e (patch)
tree8b7c6734d5aca057e23b09e9c20fb632e4d8d629 /mathoms.c
parent3cd7355842a93fd631e01d9a1d60806b4cdbf5f0 (diff)
downloadperl-e1b825c19be2a160b0a3b633eb68e8d61887d21e.tar.gz
widen size-type variables in pack/unpack
Most size-type variables in pp_pack.c were of type I32, with a smattering of other types. Use SSize_t in place of I32, and generally use size_t-width variables as appropriate. Fixes [perl #119367].
Diffstat (limited to 'mathoms.c')
-rw-r--r--mathoms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mathoms.c b/mathoms.c
index 66f2cc3768..295d8c4ea9 100644
--- a/mathoms.c
+++ b/mathoms.c
@@ -819,7 +819,7 @@ C<unpackstring> instead.
=cut */
-I32
+SSize_t
Perl_unpack_str(pTHX_ const char *pat, const char *patend, const char *s,
const char *strbeg, const char *strend, char **new_s, I32 ocnt,
U32 flags)