g++ 3.4 fixes.
authorKevin Lim <ktlim@umich.edu>
Mon, 14 Mar 2005 23:00:46 +0000 (18:00 -0500)
committerKevin Lim <ktlim@umich.edu>
Mon, 14 Mar 2005 23:00:46 +0000 (18:00 -0500)
arch/alpha/alpha_tru64_process.cc:
    g++ 3.4 fixes.  Must cast to an int prior to returning value.

--HG--
extra : convert_revision : d8ccfd7aa7ca00d9bc2d76cff014b9f142d10640

arch/alpha/alpha_tru64_process.cc

index 22e74cb40c5978c8b095790135a70c32fda1d7a5..1722b658e8a65ec1d7b9b0831db284b98a4fc78f 100644 (file)
@@ -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;