ext/psych/emitter.c in psych-1.2.2 vs ext/psych/emitter.c in psych-1.3.0
- old
+ new
@@ -349,10 +349,10 @@
yaml_mapping_start_event_initialize(
&event,
(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);
return self;