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

ruby-changes:22038

From: tenderlove <ko1@a...>
Date: Wed, 21 Dec 2011 02:37:51 +0900 (JST)
Subject: [ruby-changes:22038] tenderlove:r34087 (trunk): * ext/psych/emitter.c: fixing clang warnings. Thanks Joey!

tenderlove	2011-12-21 02:37:41 +0900 (Wed, 21 Dec 2011)

  New Revision: 34087

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

  Log:
    * ext/psych/emitter.c: fixing clang warnings. Thanks Joey!

  Modified files:
    trunk/ChangeLog
    trunk/ext/psych/emitter.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 34086)
+++ ChangeLog	(revision 34087)
@@ -1,3 +1,7 @@
+Wed Dec 21 02:25:36 2011  Aaron Patterson <aaron@t...>
+
+	* ext/psych/emitter.c: fixing clang warnings. Thanks Joey!
+
 Wed Dec 21 01:06:00 2011  Kazuhiro NISHIYAMA  <zn@m...>
 
 	* ext/bigdecimal/README: Update redmine.ruby-lang.org to bugs.ruby-lang.org
Index: ext/psych/emitter.c
===================================================================
--- ext/psych/emitter.c	(revision 34086)
+++ ext/psych/emitter.c	(revision 34087)
@@ -351,7 +351,7 @@
 	    (yaml_char_t *)(NIL_P(anchor) ? NULL : StringValuePtr(anchor)),
 	    (yaml_char_t *)(NIL_P(tag) ? NULL : StringValuePtr(tag)),
 	    implicit ? 1 : 0,
-	    (yaml_sequence_style_t)NUM2INT(style)
+	    (yaml_mapping_style_t)NUM2INT(style)
 	    );
 
     emit(emitter, &event);

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

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