X-Git-Url: https://jxself.org/git/?p=b43-tools.git;a=blobdiff_plain;f=assembler%2Fmain.c;h=a2ace1df993217396e295579569780521cb52a3c;hp=e90bac8118383f458426be1a8a9ed096220b97e4;hb=05e57ce6fbe1ebf597ab5a7e4d10e6f275f47e44;hpb=f44485b00d84af0dcfec72d445a8e40f6089ae1b diff --git a/assembler/main.c b/assembler/main.c index e90bac8..a2ace1d 100644 --- a/assembler/main.c +++ b/assembler/main.c @@ -469,7 +469,7 @@ static unsigned int merge_external_jmp_into_opcode(struct assembler_context *ctx ol = insn->operands; opcode = opbase; - cond = ol->oper[0]->u.raw; + cond = ol->oper[0]->u.imm->imm; if (cond & ~0xFF) asm_error(ctx, "External jump condition value too big (> 0xFF)"); opcode |= cond;