diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-04-09 23:06:49 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-04-09 23:06:49 +0000 |
commit | 407994996246c513a7467e820bb91f151fba01d0 (patch) | |
tree | 4914e2c461f32561bc0535c47cc93302a8297410 | |
parent | 69494d8ae186a8c90bd1455aec665afc4d3ef7a0 (diff) | |
download | ATCD-407994996246c513a7467e820bb91f151fba01d0.tar.gz |
Cast the parameter to ACE_Time_Value::usec to long.
-rw-r--r-- | ace/High_Res_Timer.i | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/High_Res_Timer.i b/ace/High_Res_Timer.i index f978ccb518e..66524b26258 100644 --- a/ace/High_Res_Timer.i +++ b/ace/High_Res_Timer.i @@ -19,7 +19,7 @@ ACE_High_Res_Timer::hrtime_to_tv (ACE_Time_Value &tv, // global_scale_factor ACE_hrtime_t tmp = tv.sec (); tmp *= ((ACE_UINT32) ACE_ONE_SECOND_IN_USECS * global_scale_factor_); - tv.usec ((hrt - tmp) / global_scale_factor_); + tv.usec ((long) (hrt - tmp) / global_scale_factor_); } |