diff options
Diffstat (limited to 'ext/psych/yaml/dumper.c')
-rw-r--r-- | ext/psych/yaml/dumper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/psych/yaml/dumper.c b/ext/psych/yaml/dumper.c index 203c6a7..29fb9c0 100644 --- a/ext/psych/yaml/dumper.c +++ b/ext/psych/yaml/dumper.c @@ -245,9 +245,9 @@ yaml_emitter_anchor_node(yaml_emitter_t *emitter, int index) #define ANCHOR_TEMPLATE_LENGTH 16 static yaml_char_t * -yaml_emitter_generate_anchor(yaml_emitter_t *emitter, int anchor_id) +yaml_emitter_generate_anchor(SHIM(yaml_emitter_t *emitter), int anchor_id) { - yaml_char_t *anchor = yaml_malloc(ANCHOR_TEMPLATE_LENGTH); + yaml_char_t *anchor = YAML_MALLOC(ANCHOR_TEMPLATE_LENGTH); if (!anchor) return NULL; |