summaryrefslogtreecommitdiff
path: root/TAO
diff options
context:
space:
mode:
authorelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-02-19 19:56:25 +0000
committerelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-02-19 19:56:25 +0000
commit4c07d7b0ffc93d721bf5df1912836b92a30c50ef (patch)
treefddf64ce5ddd9b69216f5cb306373ae4afb47129 /TAO
parentea13bb6704475f56b2e58c34f57737df4fa03612 (diff)
downloadATCD-4c07d7b0ffc93d721bf5df1912836b92a30c50ef.tar.gz
ChangeLogTag: Mon Feb 19 19:55:46 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO')
-rw-r--r--TAO/ChangeLog7
-rw-r--r--TAO/tests/CDR/allocator.cpp3
2 files changed, 9 insertions, 1 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index bf9ea8ca85a..3b90f161ff1 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,10 @@
+Mon Feb 19 19:55:46 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
+
+ * tests/CDR/allocator.cpp:
+
+ Use a static cast to avoid warnings about converting from
+ ACE_hrtime_t to double.
+
Mon Feb 19 19:44:59 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
* tests/Bug_1495_Regression/Client_Task.cpp:
diff --git a/TAO/tests/CDR/allocator.cpp b/TAO/tests/CDR/allocator.cpp
index dfbae63cc44..5f0acd3c5a5 100644
--- a/TAO/tests/CDR/allocator.cpp
+++ b/TAO/tests/CDR/allocator.cpp
@@ -187,7 +187,8 @@ main (int argc, char *argv[])
ACE_hrtime_t usecs = tv.sec ();
usecs *= static_cast<ACE_UINT32> (ACE_ONE_SECOND_IN_USECS);
usecs += tv.usec ();
- double average = ACE_HRTIME_CONVERSION(usecs) / repeat;
+ double average =
+ static_cast<double> (ACE_HRTIME_CONVERSION(usecs)) / repeat;
if (!quiet)
ACE_OS::printf ("AVE: %d %f\n",