From 024df6d86c7b0427d1c0a290c904696398499484 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 25 Dec 2021 11:47:47 -0800 Subject: fixes #1552 Several warnings compiling in Windows with Visual Studio 2019 Note that one of these warning is a real bug that would prevent TLS from functioning properly on Windows. --- src/core/idhash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core') diff --git a/src/core/idhash.c b/src/core/idhash.c index 3403b59e..9eb959d6 100644 --- a/src/core/idhash.c +++ b/src/core/idhash.c @@ -157,10 +157,10 @@ nni_id_map_sys_fini(void) static int id_resize(nni_id_map *m) { - size_t new_cap; - size_t old_cap; nni_id_entry *new_entries; nni_id_entry *old_entries; + uint32_t new_cap; + uint32_t old_cap; uint32_t i; int rv; -- cgit v1.2.3-70-g09d2