diff options
author | Paul "LeoNerd" Evans <leonerd@leonerd.org.uk> | 2012-02-08 15:52:32 +0000 |
---|---|---|
committer | Ævar Arnfjörð Bjarmason <avar@cpan.org> | 2012-02-11 22:22:25 +0000 |
commit | b3b7a49817e88df27cfeb631f252cef5d4f81b71 (patch) | |
tree | f859f8d1847443c46778dda17a1385cbf037a26d /ext/POSIX | |
parent | 216961170a26689e3730db4200ec8167f699fce0 (diff) | |
download | perl-b3b7a49817e88df27cfeb631f252cef5d4f81b71.tar.gz |
str_offset ought to be a STRLEN, not an int
Diffstat (limited to 'ext/POSIX')
-rw-r--r-- | ext/POSIX/POSIX.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs index b01c1bd31a..131cc7b2b5 100644 --- a/ext/POSIX/POSIX.xs +++ b/ext/POSIX/POSIX.xs @@ -1863,7 +1863,7 @@ strptime(str, fmt, sec=-1, min=-1, hour=-1, mday=-1, mon=-1, year=-1, wday=-1, y const U8 *orig_bytes; SV *strref = NULL; MAGIC *posmg = NULL; - int str_offset = 0; + STRLEN str_offset = 0; struct tm tm; char *remains; |