* Fixing clang build by converting old style cast (Int64) to static_cast<Int64>.

This commit is contained in:
Vitaliy Zakaznikov 2019-07-09 22:06:29 -04:00
parent a80af666ad
commit c84fd80345
2 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@ protected:
{
Block res;
if (has_limit && num_updates == (Int64)limit)
if (has_limit && num_updates == static_cast<Int64>(limit))
{
return { Block(), true };
}

View File

@ -130,7 +130,7 @@ protected:
*/
NonBlockingResult tryRead_(bool blocking)
{
if (has_limit && num_updates == (Int64)limit)
if (has_limit && num_updates == static_cast<Int64>(limit))
{
return { Block(), true };
}