summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2018-08-07 12:03:59 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2018-08-07 12:03:59 +0100
commit49fb399f1b5d349f2991c82d5e6c7216e4cbeebb (patch)
tree4e3c29ccb577be0c80ad7901a1e396adda2d5c66
parente88d4fca84e8fa8f9a6e830178a54e1912449e87 (diff)
downloadlibdom-49fb399f1b5d349f2991c82d5e6c7216e4cbeebb.tar.gz
libdom-49fb399f1b5d349f2991c82d5e6c7216e4cbeebb.tar.bz2
Attempt to fix m68k cross-compile warnings.HEADmaster
-rw-r--r--src/html/html_tablerow_element.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/html/html_tablerow_element.c b/src/html/html_tablerow_element.c
index 0cc2b7c..fe7d929 100644
--- a/src/html/html_tablerow_element.c
+++ b/src/html/html_tablerow_element.c
@@ -354,7 +354,7 @@ dom_exception dom_html_table_row_element_insert_cell(
int32_t index, dom_html_element **cell) {
dom_html_document *doc = (dom_html_document *) ((dom_node_internal *) element)->owner;
- dom_node *new_cell;
+ dom_html_element *new_cell;
dom_html_collection *cells; /*< The collection of cells in input table_row_element*/
uint32_t len; /*< The size of the cell collection */
@@ -368,7 +368,7 @@ dom_exception dom_html_table_row_element_insert_cell(
.prefix = ((dom_node_internal *)element)->prefix
};
- exp = _dom_html_element_create(&params, (dom_html_element **)&new_cell);
+ exp = _dom_html_element_create(&params, &new_cell);
if (exp != DOM_NO_ERR)
return exp;