mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
Fixed some comparion sign warnings
This commit is contained in:
parent
5502257e02
commit
d2b31c1770
3 changed files with 3 additions and 3 deletions
|
@ -1924,7 +1924,7 @@ static void printName(uint8_t dumpMask, const pilotConfig_t *pilotConfig)
|
|||
|
||||
static void cliName(char *cmdline)
|
||||
{
|
||||
const int len = strlen(cmdline);
|
||||
const unsigned int len = strlen(cmdline);
|
||||
if (len > 0) {
|
||||
memset(pilotConfigMutable()->name, 0, ARRAYLEN(pilotConfig()->name));
|
||||
if (strncmp(cmdline, emptyName, len)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue