aboutsummaryrefslogtreecommitdiff
path: root/opcodes/crx-dis.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/crx-dis.c')
-rw-r--r--opcodes/crx-dis.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/opcodes/crx-dis.c b/opcodes/crx-dis.c
index 928b011..640a90a 100644
--- a/opcodes/crx-dis.c
+++ b/opcodes/crx-dis.c
@@ -658,8 +658,9 @@ make_instruction (void)
for (i = 0; i < currInsn.nargs; i++)
{
- argument a = { 0 };
+ argument a;
+ memset (&a, 0, sizeof (a));
a.type = getargtype (instruction->operands[i].op_type);
if (instruction->operands[i].op_type == cst4
|| instruction->operands[i].op_type == rbase_dispu4)