diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-09-10 19:14:49 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-09-10 19:14:49 +0100 |
commit | a77488bab4732c30044b04e97d13707e03825bdf (patch) | |
tree | c2b056265adfe7acd76596ab5433d2ce7f227cd3 /src/core/nodelist.c | |
parent | c733e0fbd053ffa80b83839c4114a2a28b3ed2ec (diff) | |
download | libdom-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/core/nodelist.c')
-rw-r--r-- | src/core/nodelist.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/nodelist.c b/src/core/nodelist.c index 8ce9475..e2a1435 100644 --- a/src/core/nodelist.c +++ b/src/core/nodelist.c @@ -196,10 +196,10 @@ void dom_nodelist_unref(dom_nodelist *list) * \param length Pointer to location to receive length * \return DOM_NO_ERR. */ -dom_exception dom_nodelist_get_length(dom_nodelist *list, unsigned long *length) +dom_exception dom_nodelist_get_length(dom_nodelist *list, uint32_t *length) { dom_node_internal *cur = list->root->first_child; - unsigned long len = 0; + uint32_t len = 0; /* Traverse data structure */ while (cur != NULL) { @@ -300,10 +300,10 @@ dom_exception dom_nodelist_get_length(dom_nodelist *list, unsigned long *length) * should unref the node once it has finished with it. */ dom_exception _dom_nodelist_item(dom_nodelist *list, - unsigned long index, dom_node **node) + uint32_t index, dom_node **node) { dom_node_internal *cur = list->root->first_child; - unsigned long count = 0; + uint32_t count = 0; /* Traverse data structure */ while (cur != NULL) { |