From ed5ae8e3d1e8d5ec9b308e94cdf311f897edd0c6 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 8 Nov 2020 20:44:57 -0800 Subject: Fix incorrect type warning in idhash. --- src/core/idhash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-70-g09d2