[Client] Fix comparison between signed and unsigned integer expressions

This commit is contained in:
Koncord 2017-05-03 02:43:00 +08:00
parent 01bdbfecfb
commit ccae9590cc

View File

@ -86,7 +86,7 @@ string comparePlugins(PacketPreInit::PluginContainer checksums, PacketPreInit::P
if(checksumsResponse[i].second.size() > 0)
{
if(full)
for(int j = 0; j < checksumsResponse[i].second.size(); j++)
for(size_t j = 0; j < checksumsResponse[i].second.size(); j++)
printWithWidth(sstr, intToHexStr(checksumsResponse[i].second[j]), 14);
else
sstr << intToHexStr(checksumsResponse[i].second[0]);