summaryrefslogtreecommitdiff
path: root/tcg/tci
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/tci
parent2f2f244d02a2cb28db7ce790576ade08fc3a54bf (diff)
downloadqemu-2ba7fae29ec63acf2ce77d20d4146fa224bf2338.tar.gz
qemu-2ba7fae29ec63acf2ce77d20d4146fa224bf2338.tar.bz2
qemu-2ba7fae29ec63acf2ce77d20d4146fa224bf2338.zip
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/tci')
-rw-r--r--tcg/tci/tcg-target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/tci/tcg-target.c b/tcg/tci/tcg-target.c
index e118bc7179..49be6a57f0 100644
--- a/tcg/tci/tcg-target.c
+++ b/tcg/tci/tcg-target.c
@@ -370,7 +370,7 @@ static const char *const tcg_target_reg_names[TCG_TARGET_NB_REGS] = {
#endif
static void patch_reloc(uint8_t *code_ptr, int type,
- tcg_target_long value, tcg_target_long addend)
+ intptr_t value, intptr_t addend)
{
/* tcg_out_reloc always uses the same type, addend. */
assert(type == sizeof(tcg_target_long));