diff options
Diffstat (limited to 'opcodes/tic4x-dis.c')
-rw-r--r-- | opcodes/tic4x-dis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/tic4x-dis.c b/opcodes/tic4x-dis.c index 01cfa1e..e058fdc 100644 --- a/opcodes/tic4x-dis.c +++ b/opcodes/tic4x-dis.c @@ -277,7 +277,7 @@ tic4x_print_cond (struct disassemble_info *info, unsigned int cond) if (condtable == NULL) { - condtable = xcalloc (sizeof (tic4x_cond_t *), 32); + condtable = xcalloc (32, sizeof (tic4x_cond_t *)); for (i = 0; i < tic4x_num_conds; i++) condtable[tic4x_conds[i].cond] = (tic4x_cond_t *)(tic4x_conds + i); } |