mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
fixed warnings
This commit is contained in:
@ -127,10 +127,10 @@ void YACReaderClientConnectionWorker::run()
|
||||
tries = 0;
|
||||
QByteArray data;
|
||||
int dataRead = 0;
|
||||
while(data.size() < totalSize && tries < 200)
|
||||
while((quint32)data.size() < totalSize && tries < 200)
|
||||
{
|
||||
data.append(clientConnection->readAll());
|
||||
if(data.length() < totalSize)
|
||||
if((quint32)data.length() < totalSize)
|
||||
clientConnection->waitForReadyRead(100);
|
||||
if(dataRead == data.length()) //no bytes were read
|
||||
tries++;
|
||||
|
Reference in New Issue
Block a user