Signed-off-by: Michael Buesch <mb@bu3sch.de>
/* This instruction has two fake r0 operands
* at position 0 and 1. */
/* This instruction has two fake r0 operands
* at position 0 and 1. */
- fake = xmalloc(sizeof(struct operand));
- fake_reg = xmalloc(sizeof(struct operand));
+ fake = xmalloc(sizeof(*fake));
+ fake_reg = xmalloc(sizeof(*fake_reg));
fake->type = OPER_REG;
fake->u.reg = fake_reg;
fake_reg->type = GPR;
fake->type = OPER_REG;
fake->u.reg = fake_reg;
fake_reg->type = GPR;