2
0
mirror of https://github.com/boostorg/timer.git synced 2026-01-25 06:42:24 +00:00

Fixed multiple warnings 'use of C99 long long integer constant'

This commit is contained in:
Antony Polukhin
2017-04-28 13:11:15 +03:00
parent da677f6749
commit d41bad0dad
2 changed files with 3 additions and 3 deletions

View File

@@ -104,8 +104,8 @@ namespace
tick_factor = -1;
else
{
assert(tick_factor <= 1000000000LL); // logic doesn't handle large ticks
tick_factor = 1000000000LL / tick_factor; // compute factor
assert(tick_factor <= INT64_C(1000000000)); // logic doesn't handle large ticks
tick_factor = INT64_C(1000000000) / tick_factor; // compute factor
if (!tick_factor)
tick_factor = -1;
}