From e82ac897a0878b49804cb51f63e4cc400950c5a3 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 18 Dec 2024 18:10:11 +0100 Subject: [PATCH] hci: fix signed warning --- src/hci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hci.c b/src/hci.c index 3f7ab63fd..e0fa6acaf 100644 --- a/src/hci.c +++ b/src/hci.c @@ -653,8 +653,8 @@ static int nr_hci_connections(void){ uint16_t hci_number_free_acl_slots_for_connection_type(bd_addr_type_t address_type){ - unsigned int num_packets_sent_classic = 0; - unsigned int num_packets_sent_le = 0; + int num_packets_sent_classic = 0; + int num_packets_sent_le = 0; btstack_linked_item_t *it; for (it = (btstack_linked_item_t *) hci_stack->connections; it != NULL; it = it->next){