From: Richard Henderson Date: Mon, 17 Sep 2012 15:28:52 +0000 (-0700) Subject: tcg: Fix !USE_DIRECT_JUMP X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fe7e1d3ec4410d91a1a687ff4a9288870aefac40;p=qemu.git tcg: Fix !USE_DIRECT_JUMP Commit 6375e09e changed the type of TranslationBlock.tb_next, but failed to change the type of TCGContext.tb_next. Signed-off-by: Richard Henderson Reviewed-by: Andreas Färber Signed-off-by: Aurelien Jarno --- diff --git a/tcg/tcg.h b/tcg/tcg.h index 7e903f30f0..48a56f0b15 100644 --- a/tcg/tcg.h +++ b/tcg/tcg.h @@ -344,7 +344,7 @@ struct TCGContext { /* goto_tb support */ uint8_t *code_buf; - unsigned long *tb_next; + uintptr_t *tb_next; uint16_t *tb_next_offset; uint16_t *tb_jmp_offset; /* != NULL if USE_DIRECT_JUMP */