mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Merge pull request #2356 from go-redis/fix/cursor-uint64
fix: read cursor as uint64
This commit is contained in:
@ -2694,11 +2694,11 @@ func (cmd *ScanCmd) readReply(rd *proto.Reader) error {
|
||||
return err
|
||||
}
|
||||
|
||||
cursor, err := rd.ReadInt()
|
||||
cursor, err := rd.ReadUint()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
cmd.cursor = uint64(cursor)
|
||||
cmd.cursor = cursor
|
||||
|
||||
n, err := rd.ReadArrayLen()
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user