str_offset ought to be a STRLEN, not an int
authorPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>
Wed, 8 Feb 2012 15:52:32 +0000 (15:52 +0000)
committerÆvar Arnfjörð Bjarmason <avar@cpan.org>
Sat, 11 Feb 2012 22:22:25 +0000 (22:22 +0000)
ext/POSIX/POSIX.xs

index b01c1bd..131cc7b 100644 (file)
@@ -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;