From dc48f6afe9c5d5c8700f756ff0b3f0860f087d9d Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 21 Jan 2017 20:05:33 -0800 Subject: Fix compilation warnings found on Windows. --- src/core/idhash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2