aboutsummaryrefslogtreecommitdiff
path: root/src/core/idhash.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2020-11-08 20:44:57 -0800
committerGarrett D'Amore <garrett@damore.org>2020-11-08 20:44:57 -0800
commited5ae8e3d1e8d5ec9b308e94cdf311f897edd0c6 (patch)
tree35cc4b861f6b57c342c8d07537b9ceeae7c8e474 /src/core/idhash.c
parent4b23a4212e7e44c916017cca0ebf10d445d40109 (diff)
downloadnng-ed5ae8e3d1e8d5ec9b308e94cdf311f897edd0c6.tar.gz
nng-ed5ae8e3d1e8d5ec9b308e94cdf311f897edd0c6.tar.bz2
nng-ed5ae8e3d1e8d5ec9b308e94cdf311f897edd0c6.zip
Fix incorrect type warning in idhash.
Diffstat (limited to 'src/core/idhash.c')
-rw-r--r--src/core/idhash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/idhash.c b/src/core/idhash.c
index 0edf16dc..c61850d2 100644
--- a/src/core/idhash.c
+++ b/src/core/idhash.c
@@ -256,7 +256,7 @@ nni_id_set(nni_id_map *m, uint32_t id, void *val)
int
nni_id_alloc(nni_id_map *m, uint32_t *idp, void *val)
{
- uint64_t id;
+ uint32_t id;
int rv;
NNI_ASSERT(val != NULL);