mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 21:24:28 +00:00
* Fixing clang build by converting old style cast (Int64) to static_cast<Int64>.
This commit is contained in:
parent
a80af666ad
commit
c84fd80345
@ -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 };
|
||||
}
|
||||
|
@ -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 };
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user