From 39dbff5615631522d3ef98b83141957038502c0d Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 16 Jan 2017 00:43:03 -0800 Subject: Various complaints found in AppVeyor build. --- src/core/idhash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/idhash.c') 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]; -- cgit v1.2.3-70-g09d2