From 7294eafb0e0d78661a8bff9e2019389454110acd Mon Sep 17 00:00:00 2001 From: John-Mark Bell Date: Fri, 18 Jul 2014 15:37:05 +0100 Subject: Fix type nonsense. --- src/html/html_document.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/html/html_document.c b/src/html/html_document.c index 6adfedd..f6808e7 100644 --- a/src/html/html_document.c +++ b/src/html/html_document.c @@ -724,7 +724,7 @@ bool images_callback(struct dom_node_internal *node, void *ctx) dom_exception _dom_html_document_get_images(dom_html_document *doc, struct dom_html_collection **col) { - dom_html_document *root; + dom_element *root; dom_exception err; err = dom_document_get_document_element(doc, &root); if (err != DOM_NO_ERR) @@ -770,7 +770,7 @@ bool applets_callback(struct dom_node_internal *node, void *ctx) dom_exception _dom_html_document_get_applets(dom_html_document *doc, struct dom_html_collection **col) { - dom_html_document *root; + dom_element *root; dom_exception err; err = dom_document_get_document_element(doc, &root); if (err != DOM_NO_ERR) @@ -812,7 +812,7 @@ bool links_callback(struct dom_node_internal *node, void *ctx) dom_exception _dom_html_document_get_links(dom_html_document *doc, struct dom_html_collection **col) { - dom_html_document *root; + dom_element *root; dom_exception err; err = dom_document_get_document_element(doc, &root); if (err != DOM_NO_ERR) @@ -887,7 +887,7 @@ bool anchors_callback(struct dom_node_internal *node, void *ctx) dom_exception _dom_html_document_get_anchors(dom_html_document *doc, struct dom_html_collection **col) { - dom_html_document *root; + dom_element *root; dom_exception err; err = dom_document_get_document_element(doc, &root); if (err != DOM_NO_ERR) -- cgit v1.2.3