Skip to content

Commit 6984d9f

Browse files
author
Scott Powell
committed
* minor compilation fix
1 parent d012dc7 commit 6984d9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/CommonCLI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ void CommonCLI::handleCommand(uint32_t sender_timestamp, const char* command, ch
168168
} else if (memcmp(command, "neighbor.remove ", 16) == 0) {
169169
const char* hex = &command[16];
170170
uint8_t pubkey[PUB_KEY_SIZE];
171-
int hex_len = min(strlen(hex), PUB_KEY_SIZE*2);
171+
int hex_len = min((int)strlen(hex), PUB_KEY_SIZE*2);
172172
int pubkey_len = hex_len / 2;
173173
if (mesh::Utils::fromHex(pubkey, pubkey_len, hex)) {
174174
_callbacks->removeNeighbor(pubkey, pubkey_len);

0 commit comments

Comments
 (0)