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
commit6888c9d308393e7505659062290a0d5029972210 (patch)
treed52db5c2a424d7b713d10eee108d33209f88afc3 /src/utils
parent95f6dc8e41e91d274b6c8da9167ec212b1584bcf (diff)
downloadlibdom-6888c9d308393e7505659062290a0d5029972210.tar.gz
libdom-6888c9d308393e7505659062290a0d5029972210.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;
}