1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/date/date_parse.c (n2i): takes long.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
tadf 2011-04-23 17:59:38 +00:00
parent 4116d8a3bd
commit bedb18f282
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Sun Apr 24 02:57:27 2011 Tadayoshi Funaba <tadf@dotrb.org>
* ext/date/date_parse.c (n2i): takes long.
Sun Apr 24 02:51:06 2011 Tadayoshi Funaba <tadf@dotrb.org>
* ext/date/date_parse.c: reverted.

View file

@ -900,9 +900,10 @@ parse_mday(VALUE str, VALUE hash)
}
static int
n2i(const char *s, int f, int w)
n2i(const char *s, long f, long w)
{
int e, v, i;
long e, i;
int v;
e = f + w;
v = 0;