svgtiny_parse_transform_attributes(svg, &state);
- exc = dom_node_get_first_child(svg, &child);
+ exc = dom_node_get_first_child(svg, (dom_node **) (void *) &child);
if (exc != DOM_NO_ERR) {
return svgtiny_LIBDOM_ERROR;
}
dom_node_unref(child);
return code;
}
- exc = dom_node_get_next_sibling(child, &next);
+ exc = dom_node_get_next_sibling(child,
+ (dom_node **) (void *) &next);
dom_node_unref(child);
if (exc != DOM_NO_ERR) {
return svgtiny_LIBDOM_ERROR;
dom_element *stop;
float offset = -1;
svgtiny_colour color = svgtiny_TRANSPARENT;
- exc = dom_nodelist_item(stops, stopnr, &stop);
+ exc = dom_nodelist_item(stops, stopnr,
+ (dom_node **) (void *) &stop);
if (exc != DOM_NO_ERR)
continue;
exc = dom_element_get_attribute(stop,