mirror of
https://github.com/meshtastic/firmware.git
synced 2026-10-08 14:15:55 -04:00
fix sign comparsion
This commit is contained in:
1 parent
5f948c09fe
commit
5f45a10db5
2 files changed
+3
-3
No files matched your search
@@ -40,7 +40,7 @@ size_t RedirectablePrint::vprintf(const char *format, va_list arg)
|
||||
va_end(arg);
|
||||
return 0;
|
||||
};
|
||||
if (len >= printBufLen) {
|
||||
if (len >= (int)printBufLen) {
|
||||
delete[] printBuf;
|
||||
printBufLen *= 2;
|
||||
printBuf = new char[printBufLen];
|
||||
|
||||
Reference in new issue
Block a user