From ba327232d5bc09190d03ede8837ff75db35bab8e Mon Sep 17 00:00:00 2001 From: Andrzej Kapolka Date: Sun, 23 Feb 2014 21:07:00 -0800 Subject: [PATCH] Fixed another Window signed/unsigned mismatch. --- libraries/metavoxels/src/DatagramSequencer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/metavoxels/src/DatagramSequencer.cpp b/libraries/metavoxels/src/DatagramSequencer.cpp index a60d4e9df3..0c7b8ce8ab 100644 --- a/libraries/metavoxels/src/DatagramSequencer.cpp +++ b/libraries/metavoxels/src/DatagramSequencer.cpp @@ -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 so, read it in, handle it, and loop back around in case there are more if (_messagesEnabled) { - int available = _buffer.bytesAvailable(); + quint32 available = _buffer.bytesAvailable(); if (available >= sizeof(quint32)) { quint32 length; _buffer.readBytes(_buffer.pos(), sizeof(quint32), (char*)&length);