aboutsummaryrefslogtreecommitdiff
path: root/hw/alpha_palcode.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-11 13:42:22 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-11 13:42:22 +0000
commitd9e147ad1050f58d0fdcf2d2d53aa8d57dd7b0e2 (patch)
treec2045f48e7fea5c48e974002b64f7ea8f691f377 /hw/alpha_palcode.c
parentde9a95f0223733a524e4955f1b4bdb938f79255b (diff)
target-alpha: fix syscall error check
(re-add commit 5689) Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5692 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/alpha_palcode.c')
-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);