Commit 903457ee authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

Fix compile warning

Should be pretty safe to cast the apparently unsigned return value of
"sizeof" to a regular integer.
parent d668b9b1
......@@ -143,7 +143,7 @@ void QtLocalPeer::receiveConnection()
// Why doesn't Qt have a blocking stream that takes care of this shait???
while (socket->bytesAvailable() < sizeof(quint32))
while (socket->bytesAvailable() < static_cast<int>(sizeof(quint32)))
QDataStream ds(socket);
QByteArray uMsg;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment