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

ruby-changes:21032

From: ko1 <ko1@a...>
Date: Sat, 27 Aug 2011 04:04:47 +0900 (JST)
Subject: [ruby-changes:21032] ko1:r33081 (trunk): * iseq.c (iseq_data_to_ary): fix type of variable

ko1	2011-08-27 04:04:39 +0900 (Sat, 27 Aug 2011)

  New Revision: 33081

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

  Log:
    * iseq.c (iseq_data_to_ary): fix type of variable
      (long -> unsigned long) to suppress a warning.

  Modified files:
    trunk/ChangeLog
    trunk/iseq.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 33080)
+++ ChangeLog	(revision 33081)
@@ -1,3 +1,8 @@
+Sat Aug 27 04:03:18 2011  Koichi Sasada  <ko1@a...>
+
+	* iseq.c (iseq_data_to_ary): fix type of variable
+	  (long -> unsigned long) to suppress a warning.
+
 Sat Aug 27 04:02:11 2011  Koichi Sasada  <ko1@a...>
 
 	* vm_core.h: add a decl. of rb_autoloading_value().
Index: iseq.c
===================================================================
--- iseq.c	(revision 33080)
+++ iseq.c	(revision 33081)
@@ -1101,7 +1101,8 @@
 static VALUE
 iseq_data_to_ary(rb_iseq_t *iseq)
 {
-    long i, pos, ti;
+    long i, ti;
+    unsigned int pos;
     unsigned int line = 0;
     VALUE *seq;
 

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

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