aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/idhash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/idhash.c b/src/core/idhash.c
index 07368a65..4af06b0e 100644
--- a/src/core/idhash.c
+++ b/src/core/idhash.c
@@ -106,8 +106,8 @@ nni_idhash_find(nni_idhash *h, uint32_t id, void **valp)
static int
nni_hash_resize(nni_idhash *h)
{
- uint32_t newsize;
- uint32_t oldsize;
+ size_t newsize;
+ size_t oldsize;
nni_idhash_entry *newents;
nni_idhash_entry *oldents;
uint32_t i;