Commit d9e147ad1050f58d0fdcf2d2d53aa8d57dd7b0e2

Authored by aurel32
1 parent de9a95f0

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
Showing 1 changed file with 1 additions and 1 deletions
hw/alpha_palcode.c
@@ -1059,7 +1059,7 @@ void pal_init (CPUState *env) @@ -1059,7 +1059,7 @@ void pal_init (CPUState *env)
1059 1059
1060 void call_pal (CPUState *env, int palcode) 1060 void call_pal (CPUState *env, int palcode)
1061 { 1061 {
1062 - target_ulong ret; 1062 + target_long ret;
1063 1063
1064 if (logfile != NULL) 1064 if (logfile != NULL)
1065 fprintf(logfile, "%s: palcode %02x\n", __func__, palcode); 1065 fprintf(logfile, "%s: palcode %02x\n", __func__, palcode);