diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-08-14 21:13:54 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-08-14 21:13:54 +0000 |
commit | 9581ca6fa72155b0b4f857764e1d30f060117f53 (patch) | |
tree | 7d18d84c8ba72340eb62fd578822eb568d5cf3b1 /ace/High_Res_Timer.cpp | |
parent | fe3b23b3cd2e6ef4712c95f09861ccb3ffd5a4bc (diff) | |
download | ATCD-9581ca6fa72155b0b4f857764e1d30f060117f53.tar.gz |
(print_ave,print_total): fixed format specifier for total_secs to be lu instead of lld
Diffstat (limited to 'ace/High_Res_Timer.cpp')
-rw-r--r-- | ace/High_Res_Timer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/High_Res_Timer.cpp b/ace/High_Res_Timer.cpp index 4e9eccc15eb..73386398687 100644 --- a/ace/High_Res_Timer.cpp +++ b/ace/High_Res_Timer.cpp @@ -193,7 +193,7 @@ ACE_High_Res_Timer::print_ave (const char *str, const int count, ACE_HANDLE hand (u_long) ((avg_nsecs + 500) / 1000)); } else - ACE_OS::sprintf (buf, " total %3lld.%06lu secs\n", + ACE_OS::sprintf (buf, " total %3lu.%06lu secs\n", total_secs, (extra_nsecs + 500) / 1000); ACE_OS::write (handle, str, strlen (str)); @@ -227,7 +227,7 @@ ACE_High_Res_Timer::print_total (const char *str, const int count, ACE_HANDLE ha (u_long) ((avg_nsecs + 500) / 1000)); } else - ACE_OS::sprintf (buf, " total %3lld.%06lu secs\n", + ACE_OS::sprintf (buf, " total %3lu.%06lu secs\n", total_secs, (extra_nsecs + 500) / 1000); ACE_OS::write (handle, str, strlen (str)); |