From 05e48b07ccea98430d481cac0af0b8f523e9124c Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Thu, 12 May 2022 22:57:22 +0200 Subject: [PATCH] remove gcc 12.1 warning: output may be truncated writing 21 bytes into a region of size between 15 and 24 --- client/src/cmdlft55xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/cmdlft55xx.c b/client/src/cmdlft55xx.c index b47d3c533..8ee888a04 100644 --- a/client/src/cmdlft55xx.c +++ b/client/src/cmdlft55xx.c @@ -2577,7 +2577,7 @@ char *GetPskCfStr(uint32_t id, bool q5) { } char *GetBitRateStr(uint32_t id, bool xmode) { - static char buf[25]; + static char buf[35]; char *retStr = buf; if (xmode) { //xmode bitrate calc is same as em4x05 calc