fix(McClient): do not use unsigned type for response length

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 2fe0569bd6)
This commit is contained in:
Octol1ttle 2026-04-09 17:41:25 +05:00 committed by github-actions[bot]
parent 194b72f180
commit fe02ad8524

View file

@ -20,7 +20,7 @@ class McClient : public QObject {
// 1: read the response length, still reading the response
// 2: finished reading the response
unsigned m_responseReadState = 0;
unsigned m_wantedRespLength = 0;
int32_t m_wantedRespLength = 0;
QByteArray m_resp;
public: