summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-01-21 20:05:33 -0800
committerGarrett D'Amore <garrett@damore.org>2017-01-21 20:05:33 -0800
commitdc48f6afe9c5d5c8700f756ff0b3f0860f087d9d (patch)
tree9ce52e33dbda954075635636d26a3e07b8d57801 /src
parent568a84ed2d3d41da5ca64cde15a677237fffd991 (diff)
downloadnng-dc48f6afe9c5d5c8700f756ff0b3f0860f087d9d.tar.gz
nng-dc48f6afe9c5d5c8700f756ff0b3f0860f087d9d.tar.bz2
nng-dc48f6afe9c5d5c8700f756ff0b3f0860f087d9d.zip
Fix compilation warnings found on Windows.
Diffstat (limited to 'src')
-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;