2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-23 03:32:12 +00:00

More Windows build warning removal.

This commit is contained in:
Rene Rivera
2020-02-26 16:25:43 -06:00
parent 520ebfd0bf
commit 4077c4fe41
3 changed files with 10 additions and 12 deletions

View File

@@ -96,9 +96,10 @@ void timestamp_clear( timestamp * const time )
int timestamp_cmp( timestamp const * const lhs, timestamp const * const rhs )
{
return lhs->secs == rhs->secs
return int(
lhs->secs == rhs->secs
? lhs->nsecs - rhs->nsecs
: lhs->secs - rhs->secs;
: lhs->secs - rhs->secs );
}