summaryrefslogtreecommitdiff
path: root/src/html/html_button_element.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2012-09-10 19:14:49 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2012-09-10 19:14:49 +0100
commita77488bab4732c30044b04e97d13707e03825bdf (patch)
treec2b056265adfe7acd76596ab5433d2ce7f227cd3 /src/html/html_button_element.c
parentc733e0fbd053ffa80b83839c4114a2a28b3ed2ec (diff)
downloadlibdom-a77488bab4732c30044b04e97d13707e03825bdf.tar.gz
libdom-a77488bab4732c30044b04e97d13707e03825bdf.tar.bz2
unsigned long -> uint32_t, signed long and long -> int32_t, plus collateral fixes. Test suite does not pass
Diffstat (limited to 'src/html/html_button_element.c')
-rw-r--r--src/html/html_button_element.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/html/html_button_element.c b/src/html/html_button_element.c
index 47fdb7b..95b5d31 100644
--- a/src/html/html_button_element.c
+++ b/src/html/html_button_element.c
@@ -196,16 +196,16 @@ SIMPLE_GET(type);
SIMPLE_GET_SET(value);
dom_exception dom_html_button_element_get_tab_index(
- dom_html_button_element *button, long *tab_index)
+ dom_html_button_element *button, int32_t *tab_index)
{
- return dom_html_element_get_long_property(&button->base, "tabindex",
+ return dom_html_element_get_int32_t_property(&button->base, "tabindex",
SLEN("tabindex"), tab_index);
}
dom_exception dom_html_button_element_set_tab_index(
- dom_html_button_element *button, unsigned long tab_index)
+ dom_html_button_element *button, uint32_t tab_index)
{
- return dom_html_element_set_long_property(&button->base, "tabindex",
+ return dom_html_element_set_int32_t_property(&button->base, "tabindex",
SLEN("tabindex"), tab_index);
}