Commit 9c08393f262ccfa8f2d9d0632e296741be1317c3
1 parent
3587f82a
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
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); |