summaryrefslogtreecommitdiff
path: root/tcg/tcg.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-08-20 15:30:10 -0700
committerRichard Henderson <rth@twiddle.net>2013-09-02 09:08:29 -0700
commit2ba7fae29ec63acf2ce77d20d4146fa224bf2338 (patch)
tree36a70d8dbd02219647575340dae3533751e6afc2 /tcg/tcg.h
parent2f2f244d02a2cb28db7ce790576ade08fc3a54bf (diff)
downloadqemu-2ba7fae29ec63acf2ce77d20d4146fa224bf2338.tar.gz
tcg: Change relocation offsets to intptr_t
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/tcg.h')
-rw-r--r--tcg/tcg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcg/tcg.h b/tcg/tcg.h
index 8fe80692b2..715812a283 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;