From 6984d9f496765339d9abf995bd9be032dd0946b4 Mon Sep 17 00:00:00 2001 From: Scott Powell Date: Fri, 29 Aug 2025 17:01:39 +1000 Subject: [PATCH] * minor compilation fix --- src/helpers/CommonCLI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/CommonCLI.cpp b/src/helpers/CommonCLI.cpp index 083fe2b7..443fcc30 100644 --- a/src/helpers/CommonCLI.cpp +++ b/src/helpers/CommonCLI.cpp @@ -168,7 +168,7 @@ void CommonCLI::handleCommand(uint32_t sender_timestamp, const char* command, ch } else if (memcmp(command, "neighbor.remove ", 16) == 0) { const char* hex = &command[16]; uint8_t pubkey[PUB_KEY_SIZE]; - int hex_len = min(strlen(hex), PUB_KEY_SIZE*2); + int hex_len = min((int)strlen(hex), PUB_KEY_SIZE*2); int pubkey_len = hex_len / 2; if (mesh::Utils::fromHex(pubkey, pubkey_len, hex)) { _callbacks->removeNeighbor(pubkey, pubkey_len);