[openrtm-commit:03053] r1093 - trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/util
openrtm @ openrtm.org
openrtm @ openrtm.org
2018年 1月 5日 (金) 14:36:39 JST
Author: t-katami
Date: 2018-01-05 14:36:39 +0900 (Fri, 05 Jan 2018)
New Revision: 1093
Modified:
trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/util/TimeValue.java
Log:
[compat,bugfix,->RELENG_1_2] Fixed the bug.
Modified: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/util/TimeValue.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/util/TimeValue.java 2018-01-05 05:18:28 UTC (rev 1092)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/util/TimeValue.java 2018-01-05 05:36:39 UTC (rev 1093)
@@ -202,7 +202,7 @@
*/
public double toDouble(){
normalize();
- return this.tv_sec + this.tv_usec/ (double)TIMEVALUE_ONE_SECOND_IN_USECS;
+ return (double)this.tv_sec + (double)this.tv_usec/ (double)TIMEVALUE_ONE_SECOND_IN_USECS;
}
/**
More information about the openrtm-commit
mailing list