summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2014-07-18 14:37:05 (GMT)
committer John-Mark Bell <jmb@netsurf-browser.org>2014-07-18 14:37:05 (GMT)
commit7294eafb0e0d78661a8bff9e2019389454110acd (patch)
treebbde9b4ca761647b50b08d2532036a297c9e25a0
parent9aae1b6cc3ec89c96f0cdcc173405eef1d5b1c2c (diff)
downloadlibdom-7294eafb0e0d78661a8bff9e2019389454110acd.tar.gz
libdom-7294eafb0e0d78661a8bff9e2019389454110acd.tar.bz2
Fix type nonsense.
-rw-r--r--src/html/html_document.c8
1 files 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)