mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
typecast comparison from unsigned to int
This commit is contained in:
parent
8879e7abc5
commit
5ad0e293ac
@ -69,7 +69,7 @@ bool YACReaderLocalClient::requestComicInfo(quint64 libraryId, ComicDB & comic,
|
|||||||
int dataAvailable = 0;
|
int dataAvailable = 0;
|
||||||
QByteArray packageSize;
|
QByteArray packageSize;
|
||||||
localSocket->waitForReadyRead(1000);
|
localSocket->waitForReadyRead(1000);
|
||||||
while(packageSize.size() < sizeof(quint32) && tries < 20)
|
while(packageSize.size() < (int)sizeof(quint32) && tries < 20)
|
||||||
{
|
{
|
||||||
packageSize.append(localSocket->read(sizeof(quint32) - packageSize.size()));
|
packageSize.append(localSocket->read(sizeof(quint32) - packageSize.size()));
|
||||||
localSocket->waitForReadyRead(100);
|
localSocket->waitForReadyRead(100);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user