Bug #938
- Fixed compiler warnings on Solaris. Signed-off-by: Paul Beckingham <paul@beckingham.net>
This commit is contained in:
committed by
Paul Beckingham
parent
25a1b89156
commit
87853bdd78
@@ -93,7 +93,7 @@ void Timer::stop ()
|
||||
struct timeval end;
|
||||
gettimeofday (&end, NULL);
|
||||
_running = false;
|
||||
_total += (end.tv_sec - _start.tv_sec) * 1000000.0
|
||||
_total += (end.tv_sec - _start.tv_sec) * 1000000
|
||||
+ (end.tv_usec - _start.tv_usec);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user