dbms: fixed warning [#CONV-2944].

This commit is contained in:
Alexey Milovidov 2013-01-05 20:06:47 +00:00
parent 7b3f533ecd
commit 8c0db880d7

View File

@ -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)