From: Kevin Lim Date: Mon, 14 Mar 2005 23:00:46 +0000 (-0500) Subject: g++ 3.4 fixes. X-Git-Tag: m5_1.0_tutorial~72^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2adf334642d3b7f8359ca4e3f324833850c9733a;p=gem5.git 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 --- 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;