diff options
-rw-r--r-- | include/dom/html/html_pre_element.h | 6 | ||||
-rw-r--r-- | src/html/html_pre_element.c | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/include/dom/html/html_pre_element.h b/include/dom/html/html_pre_element.h index bd72701..48c885f 100644 --- a/include/dom/html/html_pre_element.h +++ b/include/dom/html/html_pre_element.h @@ -9,15 +9,17 @@ #define dom_html_pre_element_h_ #include <stdbool.h> + +#include <dom/inttypes.h> #include <dom/core/exceptions.h> #include <dom/core/string.h> typedef struct dom_html_pre_element dom_html_pre_element; dom_exception dom_html_pre_element_get_width( - dom_html_pre_element *element, int32_t *width); + dom_html_pre_element *element, dom_long *width); dom_exception dom_html_pre_element_set_width( - dom_html_pre_element *element, uint32_t width); + dom_html_pre_element *element, dom_long width); #endif diff --git a/src/html/html_pre_element.c b/src/html/html_pre_element.c index 1d220fd..8f564c2 100644 --- a/src/html/html_pre_element.c +++ b/src/html/html_pre_element.c @@ -92,7 +92,7 @@ void _dom_html_pre_element_destroy(struct dom_html_pre_element *ele) * \param pre The dom_html_pre_element object */ dom_exception dom_html_pre_element_get_width( - dom_html_pre_element *pre, int32_t *width) + dom_html_pre_element *pre, dom_long *width) { return dom_html_element_get_int32_t_property(&pre->base, "width", SLEN("width"), width); @@ -104,7 +104,7 @@ dom_exception dom_html_pre_element_get_width( * \param pre The dom_html_pre_element object */ dom_exception dom_html_pre_element_set_width( - dom_html_pre_element *pre, uint32_t width) + dom_html_pre_element *pre, dom_long width) { return dom_html_element_set_int32_t_property(&pre->base, "width", SLEN("width"), width); |