Patchwork [v2,14/18] tcg: Use appropriate types in tcg_reg_alloc_call

login
register
mail settings
Submitter Richard Henderson
Date Aug. 29, 2013, 9:09 p.m.
Message ID <1377810586-19931-15-git-send-email-rth@twiddle.net>
Download mbox | patch
Permalink /patch/270964/
State New
Headers show

Comments

Richard Henderson - Aug. 29, 2013, 9:09 p.m.
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 tcg/tcg.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Patch

diff --git a/tcg/tcg.c b/tcg/tcg.c
index c93ed9e..73f4c13 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -2046,7 +2046,9 @@  static int tcg_reg_alloc_call(TCGContext *s, const TCGOpDef *def,
     int nb_iargs, nb_oargs, flags, nb_regs, i, reg, nb_params;
     TCGArg arg, func_arg;
     TCGTemp *ts;
-    tcg_target_long stack_offset, call_stack_size, func_addr;
+    intptr_t stack_offset;
+    size_t call_stack_size;
+    uintptr_t func_addr;
     int const_func_arg, allocate_args;
     TCGRegSet allocated_regs;
     const TCGArgConstraint *arg_ct;