mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
dbms: fixed warning [#CONV-2944].
This commit is contained in:
parent
7b3f533ecd
commit
8c0db880d7
@ -46,7 +46,7 @@ public:
|
||||
inline static void writeBitmask(T x, WriteBuffer & out)
|
||||
{
|
||||
bool first = true;
|
||||
for (int i = 0; i < sizeof(T) * 8; ++i)
|
||||
for (size_t i = 0; i < sizeof(T) * 8; ++i)
|
||||
{
|
||||
T bit = static_cast<T>(1) << i;
|
||||
if (x & bit)
|
||||
|
Loading…
Reference in New Issue
Block a user