summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2015-10-31 13:54:42 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2015-10-31 14:51:18 +0100
commit6008d1cc1847dc1c3d8be6a77fba0bc6577fa853 (patch)
tree3ee62e8ace567764e4aa8b899fcfb1a757675850 /src/core
parentac39440b4946df20756ad59c573b20cfd2e2af21 (diff)
downloadlibdom-6008d1cc1847dc1c3d8be6a77fba0bc6577fa853.tar.gz
libdom-6008d1cc1847dc1c3d8be6a77fba0bc6577fa853.tar.bz2
Tweak the types on namednodemap
Diffstat (limited to 'src/core')
-rw-r--r--src/core/namednodemap.c4
-rw-r--r--src/core/namednodemap.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/core/namednodemap.c b/src/core/namednodemap.c
index ada7e90..5cd617a 100644
--- a/src/core/namednodemap.c
+++ b/src/core/namednodemap.c
@@ -117,7 +117,7 @@ void dom_namednodemap_unref(dom_namednodemap *map)
* \return DOM_NO_ERR.
*/
dom_exception dom_namednodemap_get_length(dom_namednodemap *map,
- uint32_t *length)
+ dom_ulong *length)
{
assert(map->opt != NULL);
return map->opt->namednodemap_get_length(map->priv, length);
@@ -209,7 +209,7 @@ dom_exception _dom_namednodemap_remove_named_item(
* should unref the node once it has finished with it.
*/
dom_exception _dom_namednodemap_item(dom_namednodemap *map,
- uint32_t index, dom_node **node)
+ dom_ulong index, dom_node **node)
{
assert(map->opt != NULL);
return map->opt->namednodemap_item(map->priv, index, node);
diff --git a/src/core/namednodemap.h b/src/core/namednodemap.h
index 62e5858..9e05845 100644
--- a/src/core/namednodemap.h
+++ b/src/core/namednodemap.h
@@ -19,7 +19,7 @@ struct dom_namednodemap;
struct nnm_operation {
dom_exception (*namednodemap_get_length)(void *priv,
- uint32_t *length);
+ dom_ulong *length);
dom_exception (*namednodemap_get_named_item)(void *priv,
dom_string *name, struct dom_node **node);
@@ -32,7 +32,7 @@ struct nnm_operation {
struct dom_node **node);
dom_exception (*namednodemap_item)(void *priv,
- uint32_t index, struct dom_node **node);
+ dom_ulong index, struct dom_node **node);
dom_exception (*namednodemap_get_named_item_ns)(
void *priv, dom_string *namespace,