summaryrefslogtreecommitdiff
path: root/test/testutils/foreach.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testutils/foreach.c')
-rw-r--r--test/testutils/foreach.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/testutils/foreach.c b/test/testutils/foreach.c
index bbc8a47..05d7f2a 100644
--- a/test/testutils/foreach.c
+++ b/test/testutils/foreach.c
@@ -43,7 +43,7 @@ void foreach_initialise_domhtmlcollection(dom_html_collection *coll, unsigned in
bool _get_next_domnodelist(dom_nodelist *list, unsigned int *iterator, dom_node **ret)
{
dom_exception err;
- unsigned long len;
+ uint32_t len;
err = dom_nodelist_get_length(list, &len);
if (err != DOM_NO_ERR)
@@ -85,7 +85,7 @@ bool get_next_list(list *list, unsigned int *iterator, void **ret)
bool _get_next_domnamednodemap(dom_namednodemap *map, unsigned int *iterator, dom_node **ret)
{
dom_exception err;
- unsigned long len;
+ uint32_t len;
err = dom_namednodemap_get_length(map, &len);
if (err != DOM_NO_ERR)
@@ -106,7 +106,7 @@ bool _get_next_domnamednodemap(dom_namednodemap *map, unsigned int *iterator, do
bool _get_next_domhtmlcollection(dom_html_collection *coll, unsigned int *iterator, dom_node **ret)
{
dom_exception err;
- unsigned long len;
+ uint32_t len;
err = dom_html_collection_get_length(coll, &len);
if (err != DOM_NO_ERR)