mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-19 17:22:59 +00:00
fix compiler warning
This commit is contained in:
@@ -44,7 +44,7 @@ size_t RedirectablePrint::vprintf(const char *format, va_list arg)
|
||||
static char printBuf[160];
|
||||
|
||||
va_copy(copy, arg);
|
||||
int len = vsnprintf(printBuf, sizeof(printBuf), format, copy);
|
||||
size_t len = vsnprintf(printBuf, sizeof(printBuf), format, copy);
|
||||
va_end(copy);
|
||||
|
||||
if (len < 0) return 0;
|
||||
|
||||
Reference in New Issue
Block a user