summaryrefslogtreecommitdiff
path: root/ext/psych/emitter.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/psych/emitter.c')
-rw-r--r--ext/psych/emitter.c2
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);