summaryrefslogtreecommitdiff
path: root/arch/alpha
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2005-03-14 18:00:46 -0500
committerKevin Lim <ktlim@umich.edu>2005-03-14 18:00:46 -0500
commit2adf334642d3b7f8359ca4e3f324833850c9733a (patch)
treeb171e8d373f208c41eeb61e65a806a77bcc4cea5 /arch/alpha
parentcd00fa13a074f680441e9c98628274ac54187c19 (diff)
downloadgem5-2adf334642d3b7f8359ca4e3f324833850c9733a.tar.xz
g++ 3.4 fixes.
arch/alpha/alpha_tru64_process.cc: g++ 3.4 fixes. Must cast to an int prior to returning value. --HG-- extra : convert_revision : d8ccfd7aa7ca00d9bc2d76cff014b9f142d10640
Diffstat (limited to 'arch/alpha')
-rw-r--r--arch/alpha/alpha_tru64_process.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/alpha_tru64_process.cc b/arch/alpha/alpha_tru64_process.cc
index 22e74cb40..1722b658e 100644
--- a/arch/alpha/alpha_tru64_process.cc
+++ b/arch/alpha/alpha_tru64_process.cc
@@ -953,7 +953,7 @@ class Tru64 {
Tru64::nxm_sched_state *ssp = &rad_state->nxm_ss[thread_index];
if (ssp->nxm_u.nxm_active != 0)
- return Tru64::KERN_NOT_RECEIVER;
+ return (int) Tru64::KERN_NOT_RECEIVER;
ssp->nxm_u.pth_id = attrp->pthid;
ssp->nxm_u.nxm_active = uniq_val | 1;