summaryrefslogtreecommitdiff
path: root/test/testutils/foreach.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
commit9d45f44c90fcf800d1b865351fd083b19570ca57 (patch)
treec2b056265adfe7acd76596ab5433d2ce7f227cd3 /test/testutils/foreach.c
parentc47dccdcb38dbf7a84892990cd56c8263e077953 (diff)
downloadlibdom-9d45f44c90fcf800d1b865351fd083b19570ca57.tar.gz
libdom-9d45f44c90fcf800d1b865351fd083b19570ca57.tar.bz2
unsigned long -> uint32_t, signed long and long -> int32_t, plus collateral fixes. Test suite does not pass
Diffstat (limited to 'test/testutils/foreach.c')
-rw-r--r--test/testutils/foreach.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testutils/foreach.c b/test/testutils/foreach.c
index 764920c..e068201 100644
--- a/test/testutils/foreach.c
+++ b/test/testutils/foreach.c
@@ -38,7 +38,7 @@ void foreach_initialise_domnamednodemap(dom_namednodemap *map, unsigned int *ite
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)
@@ -80,7 +80,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)