- Fixed compiler warnings on Solaris.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
This commit is contained in:
Owen Clarke 2012-02-23 20:43:54 -05:00 committed by Paul Beckingham
parent 25a1b89156
commit 87853bdd78
2 changed files with 3 additions and 1 deletions

View file

@ -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);
}
}