mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-27 17:43:07 +08:00
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:
parent
c4a8e0fa2e
commit
05e48b07cc
1 changed files with 1 additions and 1 deletions
|
@ -2577,7 +2577,7 @@ char *GetPskCfStr(uint32_t id, bool q5) {
|
||||||
}
|
}
|
||||||
|
|
||||||
char *GetBitRateStr(uint32_t id, bool xmode) {
|
char *GetBitRateStr(uint32_t id, bool xmode) {
|
||||||
static char buf[25];
|
static char buf[35];
|
||||||
|
|
||||||
char *retStr = buf;
|
char *retStr = buf;
|
||||||
if (xmode) { //xmode bitrate calc is same as em4x05 calc
|
if (xmode) { //xmode bitrate calc is same as em4x05 calc
|
||||||
|
|
Loading…
Reference in a new issue