diff options
-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); |