Build: Fix some format truncation warnings.

Generally all should be safe already, but better to be sure.
This commit is contained in:
Unknown W. Brackets committed 2021-12-11 10:45:27 -08:00
1 parent aeee317368
commit 63e623ecb2
9 files changed
+27 -24

No files matched your search

+1 -1
View File
@@ -206,7 +206,7 @@ static const char *GetSystemRegName(int o0, int op1, int CRn, int CRm, int op2)
}
static void BranchExceptionAndSystem(uint32_t w, uint64_t addr, Instruction *instr, SymbolCallback symbolCallback) {
char buffer[128];
char buffer[125];
int Rt = w & 0x1f;
int Rn = (w >> 5) & 0x1f;
if (((w >> 26) & 0x1F) == 5) {