From 934b954a368ae4c5e9e20f6de4f9ad28c119d92f Mon Sep 17 00:00:00 2001 From: tenderlove Date: Tue, 20 Dec 2011 17:37:41 +0000 Subject: [PATCH] * 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 --- ChangeLog | 4 ++++ ext/psych/emitter.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4f5519209a..255cc8dac8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Dec 21 02:25:36 2011 Aaron Patterson + + * ext/psych/emitter.c: fixing clang warnings. Thanks Joey! + Wed Dec 21 01:06:00 2011 Kazuhiro NISHIYAMA * 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);