mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Change old style cast to C++ cast
Change old style cast to C++ cast Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
7a8c963722
commit
56ae4e5b6a
6 changed files with 9 additions and 9 deletions
|
|
@ -210,7 +210,7 @@ void LocalPeer::receiveConnection()
|
|||
return;
|
||||
}
|
||||
|
||||
while (socket->bytesAvailable() < (int)sizeof(quint32))
|
||||
while (socket->bytesAvailable() < static_cast<int>(sizeof(quint32)))
|
||||
{
|
||||
socket->waitForReadyRead();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue