mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-04 12:28:35 +02:00
Bug #938
- Fixed compiler warnings on Solaris. Signed-off-by: Paul Beckingham <paul@beckingham.net>
This commit is contained in:
parent
25a1b89156
commit
87853bdd78
2 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue