[前][次][番号順一覧][スレッド一覧]

ruby-changes:19290

From: tadf <ko1@a...>
Date: Sun, 24 Apr 2011 03:09:49 +0900 (JST)
Subject: [ruby-changes:19290] Ruby:r31329 (trunk): * ext/date/date_parse.c (n2i): takes long.

tadf	2011-04-24 02:59:38 +0900 (Sun, 24 Apr 2011)

  New Revision: 31329

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31329

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

  Modified files:
    trunk/ChangeLog
    trunk/ext/date/date_parse.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 31328)
+++ ChangeLog	(revision 31329)
@@ -1,3 +1,7 @@
+Sun Apr 24 02:57:27 2011  Tadayoshi Funaba  <tadf@d...>
+
+	* ext/date/date_parse.c (n2i): takes long.
+
 Sun Apr 24 02:51:06 2011  Tadayoshi Funaba  <tadf@d...>
 
 	* ext/date/date_parse.c: reverted.
Index: ext/date/date_parse.c
===================================================================
--- ext/date/date_parse.c	(revision 31328)
+++ ext/date/date_parse.c	(revision 31329)
@@ -900,9 +900,10 @@
 }
 
 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;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]