summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-20 19:39:05 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-20 19:39:05 +0000
commit763be4d161db1b01b339a6e5d6a586cea395e563 (patch)
treed1b235a6deb43855a79e9012775cff29e36f5ac1
parent482f9cb59903c717e98f8dba4375688e35c2c5cc (diff)
downloadATCD-763be4d161db1b01b339a6e5d6a586cea395e563.tar.gz
(preemption_priority): GHS needs the static cast of the ACE_TSS<ACE_Scheduler_Factory_Int>
-rw-r--r--TAO/orbsvcs/orbsvcs/Scheduler_Factory.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Scheduler_Factory.cpp b/TAO/orbsvcs/orbsvcs/Scheduler_Factory.cpp
index 843a5a95222..bbcabae8842 100644
--- a/TAO/orbsvcs/orbsvcs/Scheduler_Factory.cpp
+++ b/TAO/orbsvcs/orbsvcs/Scheduler_Factory.cpp
@@ -274,8 +274,9 @@ ACE_Scheduler_Factory::preemption_priority ()
// Return whatever we've got. The application or Event Channel is
// responsible for making sure that it was set.
return ace_scheduler_factory_data->preemption_priority_.ts_object () == 0 ?
- (RtecScheduler::Preemption_Priority) -1 :
- *ace_scheduler_factory_data->preemption_priority_;
+ ACE_static_cast (RtecScheduler::Preemption_Priority, -1) :
+ ACE_static_cast (RtecScheduler::Preemption_Priority,
+ *ace_scheduler_factory_data->preemption_priority_);
}
void