diff options
author | elliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-02-19 19:56:25 +0000 |
---|---|---|
committer | elliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-02-19 19:56:25 +0000 |
commit | 4c07d7b0ffc93d721bf5df1912836b92a30c50ef (patch) | |
tree | fddf64ce5ddd9b69216f5cb306373ae4afb47129 /TAO/tests/CDR | |
parent | ea13bb6704475f56b2e58c34f57737df4fa03612 (diff) | |
download | ATCD-4c07d7b0ffc93d721bf5df1912836b92a30c50ef.tar.gz |
ChangeLogTag: Mon Feb 19 19:55:46 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/tests/CDR')
-rw-r--r-- | TAO/tests/CDR/allocator.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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", |