summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/lib/Driver.cpp
diff options
context:
space:
mode:
authorelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-08-06 13:52:47 +0000
committerelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-08-06 13:52:47 +0000
commit0b8e2d534c7ef13343b675c486ae41b22e31e628 (patch)
tree501a022f328827efc386d70f36df6c4b3752c68e /TAO/orbsvcs/tests/Notify/lib/Driver.cpp
parent46a23c47ed67cd8f71a86b296f852bd2fc8c8cd9 (diff)
downloadATCD-0b8e2d534c7ef13343b675c486ae41b22e31e628.tar.gz
ChangeLogTag: Mon Aug 6 13:53:30 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/lib/Driver.cpp')
-rw-r--r--TAO/orbsvcs/tests/Notify/lib/Driver.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/TAO/orbsvcs/tests/Notify/lib/Driver.cpp b/TAO/orbsvcs/tests/Notify/lib/Driver.cpp
index fd5e5227abf..25816eaec4c 100644
--- a/TAO/orbsvcs/tests/Notify/lib/Driver.cpp
+++ b/TAO/orbsvcs/tests/Notify/lib/Driver.cpp
@@ -272,8 +272,9 @@ TAO_Notify_Tests_Driver::run (void)
this->orb_->orb_core ()->orb_params ()->thread_creation_flags ();
// Become an active object.
- int priority = ACE_Sched_Params::priority_min (this->orb_->orb_core ()->orb_params ()->sched_policy ()
- , this->orb_->orb_core ()->orb_params ()->scope_policy ());
+ int priority = ACE_Sched_Params::priority_min (
+ static_cast<ACE_Sched_Params::Policy> (this->orb_->orb_core ()->orb_params ()->sched_policy ()),
+ static_cast<int> (this->orb_->orb_core ()->orb_params ()->scope_policy ()));
// Become an active object.
if (this->worker_.activate (flags, 1, 0, priority) == -1)