Fix silly warning in newest compilers

This commit is contained in:
Alex Hultman
2022-08-28 22:29:11 +02:00
parent 5eb4635809
commit 2ce8af23c7
+1 -1
View File
@@ -230,7 +230,7 @@ private:
}
/* Same here, we do not care for any particular smart allocation scheme */
webSocketData->fragmentBuffer.resize(webSocketData->fragmentBuffer.length() - webSocketData->controlTipLength);
webSocketData->fragmentBuffer.resize((unsigned int) webSocketData->fragmentBuffer.length() - webSocketData->controlTipLength);
webSocketData->controlTipLength = 0;
}
}