diff options
| author | Garrett D'Amore <garrett@damore.org> | 2021-12-25 11:47:47 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2021-12-25 11:47:47 -0800 |
| commit | 024df6d86c7b0427d1c0a290c904696398499484 (patch) | |
| tree | faf6a62d56413b409286538444519e81fae748fa /src/core/idhash.c | |
| parent | 788cd607ca4e595d839da67a27453d141d12bae8 (diff) | |
| download | nng-024df6d86c7b0427d1c0a290c904696398499484.tar.gz nng-024df6d86c7b0427d1c0a290c904696398499484.tar.bz2 nng-024df6d86c7b0427d1c0a290c904696398499484.zip | |
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.
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 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; |
