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

ruby-changes:8428

From: kazu <ko1@a...>
Date: Mon, 27 Oct 2008 12:04:34 +0900 (JST)
Subject: [ruby-changes:8428] Ruby:r19959 (trunk): * ext/nkf/nkf.c (rb_nkf_convert): should specify type of variable.

kazu	2008-10-27 12:04:22 +0900 (Mon, 27 Oct 2008)

  New Revision: 19959

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

  Log:
    * ext/nkf/nkf.c (rb_nkf_convert): should specify type of variable.

  Modified files:
    trunk/ChangeLog
    trunk/ext/nkf/nkf.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 19958)
+++ ChangeLog	(revision 19959)
@@ -1,3 +1,7 @@
+Mon Oct 27 12:02:53 2008  Kazuhiro NISHIYAMA  <zn@m...>
+
+	* ext/nkf/nkf.c (rb_nkf_convert): should specify type of variable.
+
 Mon Oct 27 11:34:56 2008  Yuki Sonoda (Yugui)  <yugui@y...>
 
 	* test/minitest/test_mini_test.rb (test_filter_backtrace):
Index: ext/nkf/nkf.c
===================================================================
--- ext/nkf/nkf.c	(revision 19958)
+++ ext/nkf/nkf.c	(revision 19959)
@@ -135,7 +135,7 @@
 static VALUE
 rb_nkf_convert(VALUE obj, VALUE opt, VALUE src)
 {
-    volatile tmp;
+    volatile VALUE tmp;
     reinit();
     StringValue(opt);
     nkf_split_options(RSTRING_PTR(opt));

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

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