aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-11 13:31:01 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-11 13:31:01 +0000
commit9c08393f262ccfa8f2d9d0632e296741be1317c3 (patch)
treed97c4ec78e02e5b5059846f7e2485a48a39ab48f /hw
parent3587f82a683122e25da59e1e81150ffde313e54f (diff)
target-alpha: fix syscall error check
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5689 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r--hw/alpha_palcode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/alpha_palcode.c b/hw/alpha_palcode.c
index 38466dbd8f..351bb4879b 100644
--- a/hw/alpha_palcode.c
+++ b/hw/alpha_palcode.c
@@ -1059,7 +1059,7 @@ void pal_init (CPUState *env)
void call_pal (CPUState *env, int palcode)
{
- target_ulong ret;
+ target_long ret;
if (logfile != NULL)
fprintf(logfile, "%s: palcode %02x\n", __func__, palcode);