summaryrefslogtreecommitdiff
path: root/src/html/html_element.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/html/html_element.c')
-rw-r--r--src/html/html_element.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/html/html_element.c b/src/html/html_element.c
index 0101ee8..decf955 100644
--- a/src/html/html_element.c
+++ b/src/html/html_element.c
@@ -81,7 +81,8 @@ dom_exception _dom_html_element_get_id(dom_html_element *element,
if (ret != DOM_NO_ERR)
return ret;
- ret = dom_document_create_string(doc, "id", SLEN("id"), &idstr);
+ ret = _dom_document_create_string(doc, (const uint8_t *) "id",
+ SLEN("id"), &idstr);
if (ret != DOM_NO_ERR)
return ret;
@@ -103,7 +104,8 @@ dom_exception _dom_html_element_set_id(dom_html_element *element,
if (ret != DOM_NO_ERR)
return ret;
- ret = dom_document_create_string(doc, "id", SLEN("id"), &idstr);
+ ret = _dom_document_create_string(doc, (const uint8_t *) "id",
+ SLEN("id"), &idstr);
if (ret != DOM_NO_ERR)
return ret;