aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);