Merge pull request #228 from bensuperpc/change_cast

This commit is contained in:
flow
2022-10-23 14:28:33 -03:00
committed by Sefa Eyeoglu
parent 35e792c5de
commit fcef6321fc
6 changed files with 9 additions and 9 deletions

View File

@ -210,7 +210,7 @@ void LocalPeer::receiveConnection()
return;
}
while (socket->bytesAvailable() < (int)sizeof(quint32))
while (socket->bytesAvailable() < static_cast<int>(sizeof(quint32)))
{
socket->waitForReadyRead();
}