From 2ba7fae29ec63acf2ce77d20d4146fa224bf2338 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 20 Aug 2013 15:30:10 -0700 Subject: tcg: Change relocation offsets to intptr_t Reviewed-by: Aurelien Jarno Signed-off-by: Richard Henderson --- tcg/tcg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tcg/tcg.h') diff --git a/tcg/tcg.h b/tcg/tcg.h index 8fe8069..715812a 100644 --- a/tcg/tcg.h +++ b/tcg/tcg.h @@ -139,13 +139,13 @@ typedef struct TCGRelocation { struct TCGRelocation *next; int type; uint8_t *ptr; - tcg_target_long addend; + intptr_t addend; } TCGRelocation; typedef struct TCGLabel { int has_value; union { - tcg_target_ulong value; + uintptr_t value; TCGRelocation *first_reloc; } u; } TCGLabel; -- cgit v1.1