summaryrefslogtreecommitdiff
path: root/src/html/html_pre_element.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-10-25 19:10:39 +0000
committerVincent Sanders <vince@kyllikki.org>2015-10-25 19:10:39 +0000
commit8dd180745e9e2cf4581dbd8dc0a6cb860594913c (patch)
treecff5a786706784bb4504d429c3647bb18ffa1183 /src/html/html_pre_element.c
parentdf9016f830a109f70fb1a418ae189c0a3e607cca (diff)
downloadlibdom-8dd180745e9e2cf4581dbd8dc0a6cb860594913c.tar.gz
libdom-8dd180745e9e2cf4581dbd8dc0a6cb860594913c.tar.bz2
Update the html pre element API to use dom_long
Diffstat (limited to 'src/html/html_pre_element.c')
-rw-r--r--src/html/html_pre_element.c4
1 files changed, 2 insertions, 2 deletions
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);