Use target_ulong type for emulator registers.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2381 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/cpu-exec.c b/cpu-exec.c
index a2704e5..fcf0698 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -226,9 +226,9 @@
int cpu_exec(CPUState *env1)
{
- int saved_T0, saved_T1;
+ target_ulong saved_T0, saved_T1;
#if defined(reg_T2)
- int saved_T2;
+ target_ulong saved_T2;
#endif
CPUState *saved_env;
#if defined(TARGET_I386)
@@ -262,7 +262,8 @@
#endif
#endif
#if defined(__sparc__) && !defined(HOST_SOLARIS)
- int saved_i7, tmp_T0;
+ int saved_i7;
+ target_ulong tmp_T0;
#endif
int ret, interrupt_request;
void (*gen_func)(void);