diff options
author | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-12-20 17:37:41 +0000 |
---|---|---|
committer | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-12-20 17:37:41 +0000 |
commit | 934b954a368ae4c5e9e20f6de4f9ad28c119d92f (patch) | |
tree | 7490b76504f95ddac7f8dfccb96c3289d3b1a244 | |
parent | 0afb73c603a0add19a5bb6e5e8fedf481f6a8c0c (diff) |
* ext/psych/emitter.c: fixing clang warnings. Thanks Joey!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ext/psych/emitter.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Wed Dec 21 02:25:36 2011 Aaron Patterson <aaron@tenderlovemaking.com> + + * ext/psych/emitter.c: fixing clang warnings. Thanks Joey! + Wed Dec 21 01:06:00 2011 Kazuhiro NISHIYAMA <zn@mbf.nifty.com> * ext/bigdecimal/README: Update redmine.ruby-lang.org to bugs.ruby-lang.org diff --git a/ext/psych/emitter.c b/ext/psych/emitter.c index a85fa45ef5..15fdcfe75b 100644 --- a/ext/psych/emitter.c +++ b/ext/psych/emitter.c @@ -351,7 +351,7 @@ static VALUE start_mapping( (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); |