Fix cursor type in RedisModuleScanCursor (#10698)

Changed cursor's type from `int` to `unsigned long`
allows handling database or key with more than 2^31 elements
This commit is contained in:
Ozan Tezcan 2022-05-09 18:45:51 +03:00 committed by GitHub
parent 6b44e4ea92
commit a3df2777e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9809,7 +9809,7 @@ typedef struct {
} ScanCBData;
typedef struct RedisModuleScanCursor{
int cursor;
unsigned long cursor;
int done;
}RedisModuleScanCursor;