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 /ext/psych/emitter.c | |
parent | 0afb73c603a0add19a5bb6e5e8fedf481f6a8c0c (diff) | |
download | ruby-934b954a368ae4c5e9e20f6de4f9ad28c119d92f.tar.gz |
* 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
Diffstat (limited to 'ext/psych/emitter.c')
-rw-r--r-- | ext/psych/emitter.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |