From 5366ee583b0571dc39acb4af86103c951a9175c0 Mon Sep 17 00:00:00 2001 From: François Revel Date: Sat, 24 Mar 2012 09:46:56 +0000 Subject: Fix conflicting return type for _dom_hash_get_length(). svn path=/trunk/libdom/; revision=13582 --- src/utils/hashtable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils') diff --git a/src/utils/hashtable.c b/src/utils/hashtable.c index 24cfd95..db6ece8 100644 --- a/src/utils/hashtable.c +++ b/src/utils/hashtable.c @@ -31,7 +31,7 @@ struct dom_hash_table { void *pw; /**< Client data */ unsigned int nchains; /**< Number of chains */ struct _dom_hash_entry **chain; /**< The chain head */ - unsigned int nentries; /**< The entries in this table */ + uint32_t nentries; /**< The entries in this table */ }; @@ -292,7 +292,7 @@ void *_dom_hash_iterate(struct dom_hash_table *ht, uintptr_t *c1, * * \return the number of elements */ -unsigned int _dom_hash_get_length(struct dom_hash_table *ht) +uint32_t _dom_hash_get_length(struct dom_hash_table *ht) { return ht->nentries; } -- cgit v1.2.3