Skip to content

Commit

Permalink
refactor: 移除冗余类型转换
Browse files Browse the repository at this point in the history
  • Loading branch information
Redmomn committed Jun 29, 2024
1 parent 8c63901 commit 3839052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/internal/oicq/oicq.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 3839052

Please sign in to comment.