summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorFrançois Revel <mmu_man@netsurf-browser.org>2012-03-24 09:46:56 +0000
committerFrançois Revel <mmu_man@netsurf-browser.org>2012-03-24 09:46:56 +0000
commit5366ee583b0571dc39acb4af86103c951a9175c0 (patch)
treed52db5c2a424d7b713d10eee108d33209f88afc3 /src/utils
parent81c06a1c10903aaaab877945208825c7244e7b7a (diff)
downloadlibdom-5366ee583b0571dc39acb4af86103c951a9175c0.tar.gz
libdom-5366ee583b0571dc39acb4af86103c951a9175c0.tar.bz2
Fix conflicting return type for _dom_hash_get_length().
svn path=/trunk/libdom/; revision=13582
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/hashtable.c4
1 files changed, 2 insertions, 2 deletions
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;
}