From 383905247b464a25a5f7ed9f617baa909f252145 Mon Sep 17 00:00:00 2001 From: Redmomn <109732988+Redmomn@users.noreply.github.com> Date: Sat, 29 Jun 2024 10:09:20 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=E5=86=97?= =?UTF-8?q?=E4=BD=99=E7=B1=BB=E5=9E=8B=E8=BD=AC=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/internal/oicq/oicq.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/internal/oicq/oicq.go b/client/internal/oicq/oicq.go index 38c0e444..4e833ede 100644 --- a/client/internal/oicq/oicq.go +++ b/client/internal/oicq/oicq.go @@ -107,7 +107,7 @@ func (c *Codec) Unmarshal(data []byte) (*Message, error) { reader.ReadU16() // version? m.Command = reader.ReadU16() reader.ReadU16() // 1? - m.Uin = uint32(reader.ReadI32()) + m.Uin = reader.ReadU32() reader.ReadU8() encryptType := reader.ReadU8() reader.ReadU8()