Fix a few warnings

This commit is contained in:
Alex Hultman
2019-12-26 16:45:23 +01:00
parent a969a3e53e
commit bdac60a177
5 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ struct WebSocketContextData {
/* Note: this assumes we are not corked, as corking will swallow things and fail later on */
/* Check if we now have too much backpressure (todo: don't buffer up before check) */
if (asyncSocket->getBufferedAmount() > maxBackpressure) {
if ((unsigned int) asyncSocket->getBufferedAmount() > maxBackpressure) {
asyncSocket->close();
}
}