X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=assembler%2Fmain.c;h=a2ace1df993217396e295579569780521cb52a3c;hb=3f723ef8180329e5ca5f750e12a278191053af66;hp=e90bac8118383f458426be1a8a9ed096220b97e4;hpb=900539d3af0679acea61145f0e64254518d7fce7;p=b43-tools.git 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;