Просмотр исходного кода

Cast outputHandler to the proper type in helpers.c.

Gustavo Niemeyer 15 лет назад
Родитель
Сommit
05299e4594
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      helpers.c

+ 1 - 1
helpers.c

@@ -14,5 +14,5 @@ DEFINE_YUNION_FUNC(sequence_start)
 
 void set_output_handler(yaml_emitter_t *e)
 {
-    yaml_emitter_set_output(e, outputHandler, (void *)e);
+    yaml_emitter_set_output(e, (yaml_write_handler_t*)outputHandler, (void *)e);
 }