From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLGKs-00017k-GK for qemu-devel@nongnu.org; Wed, 05 Mar 2014 13:14:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WLGKm-0008Uq-M8 for qemu-devel@nongnu.org; Wed, 05 Mar 2014 13:14:30 -0500 Received: from mail-qg0-x233.google.com ([2607:f8b0:400d:c04::233]:38747) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLGKm-0008Ua-9c for qemu-devel@nongnu.org; Wed, 05 Mar 2014 13:14:24 -0500 Received: by mail-qg0-f51.google.com with SMTP id q108so3898064qgd.10 for ; Wed, 05 Mar 2014 10:14:24 -0800 (PST) Sender: Richard Henderson From: Richard Henderson Date: Wed, 5 Mar 2014 10:14:17 -0800 Message-Id: <1394043257-4800-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH] target-arm: Fix intptr_t vs tcg_target_long List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Fixes a build error when these are different, e.g. x32. Signed-off-by: Richard Henderson --- target-arm/translate-a64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-arm/translate-a64.c b/target-arm/translate-a64.c index 08ac659..37e05e8 100644 --- a/target-arm/translate-a64.c +++ b/target-arm/translate-a64.c @@ -210,7 +210,7 @@ static inline void gen_goto_tb(DisasContext *s, int n, uint64_t dest) if (use_goto_tb(s, n, dest)) { tcg_gen_goto_tb(n); gen_a64_set_pc_im(dest); - tcg_gen_exit_tb((tcg_target_long)tb + n); + tcg_gen_exit_tb((intptr_t)tb + n); s->is_jmp = DISAS_TB_JUMP; } else { gen_a64_set_pc_im(dest); -- 1.8.5.3