diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-27 02:34:37 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-27 02:34:37 +0000 |
commit | 812985ac66da90990682acafeecf77188a46b033 (patch) | |
tree | ff6546d15a26dc1e859b61f9206c49d4a3c49f2a /performance-tests | |
parent | 948b0c57349eae2a11e15c91cecb833fb798038c (diff) | |
download | ATCD-812985ac66da90990682acafeecf77188a46b033.tar.gz |
(per_iteration): use ACE_CU64_TO_CU32 for narrowing the const
ACE_UIN64 argument.
Diffstat (limited to 'performance-tests')
-rw-r--r-- | performance-tests/Misc/basic_perf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/performance-tests/Misc/basic_perf.cpp b/performance-tests/Misc/basic_perf.cpp index cf8e91f3e13..ca665d72228 100644 --- a/performance-tests/Misc/basic_perf.cpp +++ b/performance-tests/Misc/basic_perf.cpp @@ -53,7 +53,7 @@ inline double per_iteration (const ACE_hrtime_t elapsed /* nanoseconds */) { - double ms_per_iteration = (double) ACE_U64_TO_U32 (elapsed) / 1000.0 / + double ms_per_iteration = (double) ACE_CU64_TO_CU32 (elapsed) / 1000.0 / (double) iterations; // Don't print out "-0.000" or "-0.001" . . . |