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

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2026-04-09 17:41:25 +05:00
parent 194b72f180
commit 2fe0569bd6
No known key found for this signature in database
GPG key ID: B77C34313AEE1FFF

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: