mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 14:08:51 +02:00
Fixed another Window signed/unsigned mismatch.
This commit is contained in:
parent
5cf6c43414
commit
ba327232d5
1 changed files with 1 additions and 1 deletions
|
@ -736,7 +736,7 @@ void ReliableChannel::readData(QDataStream& in) {
|
||||||
// if we're expecting a message, peek into the buffer to see if we have the whole thing.
|
// if we're expecting a message, peek into the buffer to see if we have the whole thing.
|
||||||
// if so, read it in, handle it, and loop back around in case there are more
|
// if so, read it in, handle it, and loop back around in case there are more
|
||||||
if (_messagesEnabled) {
|
if (_messagesEnabled) {
|
||||||
int available = _buffer.bytesAvailable();
|
quint32 available = _buffer.bytesAvailable();
|
||||||
if (available >= sizeof(quint32)) {
|
if (available >= sizeof(quint32)) {
|
||||||
quint32 length;
|
quint32 length;
|
||||||
_buffer.readBytes(_buffer.pos(), sizeof(quint32), (char*)&length);
|
_buffer.readBytes(_buffer.pos(), sizeof(quint32), (char*)&length);
|
||||||
|
|
Loading…
Reference in a new issue