mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 02:54:46 -04:00
Library: typecast in comparison of int and long u int
This commit is contained in:
@ -104,7 +104,7 @@ void YACReaderClientConnectionWorker::run()
|
||||
int dataAvailable = 0;
|
||||
QByteArray packageSize;
|
||||
clientConnection->waitForReadyRead(1000);
|
||||
while(packageSize.size() < sizeof(quint32) && tries < 20)
|
||||
while(((long unsigned int)packageSize.size() < sizeof(quint32)) && (tries < 20))
|
||||
{
|
||||
packageSize.append(clientConnection->read(sizeof(quint32) - packageSize.size()));
|
||||
clientConnection->waitForReadyRead(100);
|
||||
|
Reference in New Issue
Block a user