diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/date/date_parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/date_parse.c b/ext/date/date_parse.c index 97923d7623..b74230d291 100644 --- a/ext/date/date_parse.c +++ b/ext/date/date_parse.c @@ -415,7 +415,7 @@ date_zone_to_diff(VALUE str) { char *p; int sign = 0; - unsigned long hour = 0, min = 0, sec = 0; + long hour = 0, min = 0, sec = 0; if (l > 3 && (strncmp(s, "gmt", 3) == 0 || |