summaryrefslogtreecommitdiff
path: root/TAO/examples/RTScheduling
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2008-06-10 11:36:23 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2008-06-10 11:36:23 +0000
commit3696fbfd897a3ede94cf2f6fce588c90c3fd61c3 (patch)
treefbfd652e876d6a3d548672095ab488f97c2b671c /TAO/examples/RTScheduling
parent69d29425388919d6705db2c07f08b5c610e13028 (diff)
downloadATCD-3696fbfd897a3ede94cf2f6fce588c90c3fd61c3.tar.gz
ChangeLogTag: Tue Jun 10 11:38:15 UTC 2008 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/examples/RTScheduling')
-rw-r--r--TAO/examples/RTScheduling/DT_Creator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/examples/RTScheduling/DT_Creator.cpp b/TAO/examples/RTScheduling/DT_Creator.cpp
index e9d5d57f904..9241e477057 100644
--- a/TAO/examples/RTScheduling/DT_Creator.cpp
+++ b/TAO/examples/RTScheduling/DT_Creator.cpp
@@ -463,7 +463,8 @@ DT_Creator::create_distributable_threads (RTScheduling::Current_ptr current)
ACE_hthread_t curr_thr;
ACE_Thread::self (curr_thr);
- if (dt_list_ [i]->start_time () != 0 && (elapsed_time.sec () < dt_list_[i]->start_time ()))
+ if (dt_list_ [i]->start_time () != 0 &&
+ (elapsed_time.sec () < static_cast<time_t> (dt_list_[i]->start_time ())))
{
int suspension_time = dt_list_[i]->start_time () - elapsed_time.sec ();
ACE_OS::sprintf (buf,"suspension_tome = %d\n",