remove gcc 12.1 warning: output may be truncated writing 21 bytes into a region of size between 15 and 24
This commit is contained in:
1 parent
c4a8e0fa2e
commit
05e48b07cc
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user