diff --git a/arch/PowerPC/PPCMapping.c b/arch/PowerPC/PPCMapping.c index a2f9558f..6d0f41af 100644 --- a/arch/PowerPC/PPCMapping.c +++ b/arch/PowerPC/PPCMapping.c @@ -914,7 +914,9 @@ static insn_map insns[] = { { PPC_gBCLRL, PPC_INS_BCLRL, { PPC_REG_CTR, PPC_REG_LR, PPC_REG_RM, 0 }, { PPC_REG_LR, PPC_REG_CTR, 0 }, { 0 }, 0, 0 }, }; -static insn_map alias_insns[] = {0, 0, {0}, {0}, {0}, 0, 0}; +static insn_map alias_insns[] = { + { 0, 0, { 0 }, { 0 }, { 0 }, 0, 0 }, +}; // given internal insn id, return public instruction info void PPC_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id) @@ -1430,7 +1432,9 @@ static name_map insn_name_maps[] = { }; // special alias insn -static name_map alias_insn_names[] = {0, 0}; +static name_map alias_insn_names[] = { + { 0, NULL } +}; const char *PPC_insn_name(csh handle, unsigned int id) { diff --git a/include/mips.h b/include/mips.h index 3a7dcf08..48cee9c4 100644 --- a/include/mips.h +++ b/include/mips.h @@ -13,7 +13,7 @@ extern "C" { #ifdef _MSC_VER #pragma warning(disable:4201) -#endif _MSC_VER +#endif //> Operand type for instruction's operands typedef enum mips_op_type {