diff options
Diffstat (limited to 'src/core/idhash.c')
| -rw-r--r-- | src/core/idhash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/idhash.c b/src/core/idhash.c index 58b68bbf..d816ddf4 100644 --- a/src/core/idhash.c +++ b/src/core/idhash.c @@ -91,7 +91,7 @@ nni_hash_resize(nni_idhash *h) uint32_t oldsize; nni_idhash_entry *newents; nni_idhash_entry *oldents; - int i; + uint32_t i; if ((h->ih_load < h->ih_maxload) && (h->ih_load >= h->ih_minload)) { // No resize needed. @@ -231,7 +231,7 @@ nni_idhash_count(nni_idhash *h, uint32_t *countp) int nni_idhash_walk(nni_idhash *h, nni_idhash_walkfn fn, void *arg) { - int i, rv; + uint32_t i, rv; for (i = 0; i < h->ih_cap; i++) { nni_idhash_entry *ent = &h->ih_entries[i]; |
