Unverified Commit a3df2777 authored by Ozan Tezcan's avatar Ozan Tezcan Committed by GitHub
Browse files

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
parent 6b44e4ea
...@@ -9809,7 +9809,7 @@ typedef struct { ...@@ -9809,7 +9809,7 @@ typedef struct {
} ScanCBData; } ScanCBData;
typedef struct RedisModuleScanCursor{ typedef struct RedisModuleScanCursor{
int cursor; unsigned long cursor;
int done; int done;
}RedisModuleScanCursor; }RedisModuleScanCursor;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment