]> andersk Git - libyaml.git/blobdiff - src/dumper.c
Fixed most compiler warnings -Wall -Wextra
[libyaml.git] / src / dumper.c
index 203c6a709c341fbaf13fe1cc953ebcfb613d809b..29fb9c078483fc8870f508fdb5c63dd6a3d8df00 100644 (file)
@@ -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;
 
This page took 0.040272 seconds and 4 git commands to generate.