From b3b7a49817e88df27cfeb631f252cef5d4f81b71 Mon Sep 17 00:00:00 2001 From: "Paul \"LeoNerd\" Evans" Date: Wed, 8 Feb 2012 15:52:32 +0000 Subject: str_offset ought to be a STRLEN, not an int --- ext/POSIX/POSIX.xs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/POSIX') 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; -- cgit v1.2.1