- 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

@ -262,6 +262,8 @@
Jennifer Cormier).
+ Fixed bug #936, which caused tests to fail on Solaris (thanks to Owen Clarke).
+ Fixed bug #937, which failed 'stat' calls on Solaris (thanks to Owen Clarke).
+ Fixed bug #938, which corrected compiler warnings on Solaris (thanks to Owen
Clarke).
# Untracked Bugs, biggest first.
+ Fixed bug that required the '%YAML' prologue in a YAML import.

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