summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/ChangeLog6
-rw-r--r--TAO/examples/RTScheduling/DT_Creator.cpp3
2 files changed, 8 insertions, 1 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index b2f64174a15..5f7033e0366 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,9 @@
+Tue Jun 10 11:38:15 UTC 2008 Chad Elliott <elliott_c@ociweb.com>
+
+ * examples/RTScheduling/DT_Creator.cpp:
+
+ Added a static cast to avoid warnings on QNX.
+
Mon Jun 9 12:28:24 UTC 2008 Chad Elliott <elliott_c@ociweb.com>
* tests/OctetSeq/run_test.pl:
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",