summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2012-03-24 00:27:52 +0100
committerFather Chrysostomos <sprout@cpan.org>2012-05-21 17:51:53 -0700
commitfcb8da00bbf96c055c5bfb9ae7a8086051c6f3b0 (patch)
tree3e421dfcf21ae11f9cbec090dc0d29ee37974264 /embed.fnc
parent803e7e8145a1acab70f0b5356329b191cfc8ccd9 (diff)
downloadperl-fcb8da00bbf96c055c5bfb9ae7a8086051c6f3b0.tar.gz
[rt #111730] don't use I32 for offsets in vec()
do_vecset() do_vecget() used I32 for the offset, which meant that offsets outside the -2Gb - +2Gb offset were truncated, resulting in various misbehaviours.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index 537912167c..b637124d78 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -379,7 +379,7 @@ pR |Off_t |do_tell |NN GV* gv
: Defined in doop.c, used only in pp.c
p |I32 |do_trans |NN SV* sv
: Used in my.c and pp.c
-p |UV |do_vecget |NN SV* sv|I32 offset|I32 size
+p |UV |do_vecget |NN SV* sv|SSize_t offset|int size
: Defined in doop.c, used only in mg.c (with /* XXX slurp this routine */)
p |void |do_vecset |NN SV* sv
: Defined in doop.c, used only in pp.c