target/nios2: Fix 64-bit ilp32 compilation
commit1639a965d30b45b10134b69bf49dd3e657d2ef09
authorRichard Henderson <rth@twiddle.net>
Wed, 26 Apr 2017 17:37:42 +0000 (26 10:37 -0700)
committerRichard Henderson <rth@twiddle.net>
Mon, 5 Jun 2017 16:25:42 +0000 (5 09:25 -0700)
tree54fb974bdfa86314ab2f2028022d6911b00db909
parent199e19ee538eb61fd08b1c1ee5aa838ebdcc968e
target/nios2: Fix 64-bit ilp32 compilation

Avoid a "cast from pointer to integer of different size" warning
by using the proper host type.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
target/nios2/translate.c