ppcdisasm: fix string buffer overflow in VS19.

This commit is contained in:
Maxim Poliakovski 2020-02-13 00:05:10 +01:00
parent 24652de392
commit 4ecc48a6cc

View File

@ -425,7 +425,7 @@ void opc_bcx(PPCDisasmContext* ctx)
{
uint32_t bo, bi, dst, cr;
char opcode[10] = "b";
char operands[10] = "";
char operands[12] = "";
bo = (ctx->instr_code >> 21) & 0x1F;
bi = (ctx->instr_code >> 16) & 0x1F;