summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
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;
}