Skip to content
Snippets Groups Projects
Commit f443200d authored by flocci's avatar flocci Committed by al.schwinn
Browse files

[SIL-310] cleanup: Remove simple warning

parent 32218fe8
No related branches found
No related tags found
No related merge requests found
...@@ -76,8 +76,8 @@ namespace Silecs { ...@@ -76,8 +76,8 @@ namespace Silecs {
double getTimeOfDay(double unit) { double getTimeOfDay(double unit) {
timeval lCurrent; timeval lCurrent;
::gettimeofday(&lCurrent, 0); ::gettimeofday(&lCurrent, 0);
return ((lCurrent.tv_sec*YS_UNIT + lCurrent.tv_usec)*(unit/YS_UNIT)); return (double)((lCurrent.tv_sec*YS_UNIT + lCurrent.tv_usec)*(unit/YS_UNIT));
} }
protected: protected:
bool mHardware; bool mHardware;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment