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:
parent
4116d8a3bd
commit
bedb18f282
2 changed files with 7 additions and 2 deletions
|
@ -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>
|
Sun Apr 24 02:51:06 2011 Tadayoshi Funaba <tadf@dotrb.org>
|
||||||
|
|
||||||
* ext/date/date_parse.c: reverted.
|
* ext/date/date_parse.c: reverted.
|
||||||
|
|
|
@ -900,9 +900,10 @@ parse_mday(VALUE str, VALUE hash)
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
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;
|
e = f + w;
|
||||||
v = 0;
|
v = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue