diff options
author | Meir Shpilraien (Spielrein) <meir@redislabs.com> | 2021-09-09 23:03:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-09 23:03:02 +0300 |
commit | 05e6b97bed17a5e5ba9864d4a08ef6bfa45ce222 (patch) | |
tree | a366bd5b2ec24816aaa266c7a8646ef791e74af2 /tests/modules | |
parent | 3ca6972ecd3e9963f65b9cb1ff050ad60f03563e (diff) | |
download | redis-05e6b97bed17a5e5ba9864d4a08ef6bfa45ce222.tar.gz |
Fix RedisModule_Call tests on 32bit (#9481)
Diffstat (limited to 'tests/modules')
-rw-r--r-- | tests/modules/basics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modules/basics.c b/tests/modules/basics.c index a743b9edf..aa883cf10 100644 --- a/tests/modules/basics.c +++ b/tests/modules/basics.c @@ -467,7 +467,7 @@ int TestNestedCallReplyArrayElement(RedisModuleCtx *ctx, RedisModuleString **arg RedisModule_SelectDb(ctx, 1); RedisModule_Call(ctx, "LPUSH", "sc", expect_key, "myvalue"); - RedisModuleCallReply *scan_reply = RedisModule_Call(ctx, "SCAN", "l", 0); + RedisModuleCallReply *scan_reply = RedisModule_Call(ctx, "SCAN", "l", (long long)0); RedisModule_Assert(scan_reply != NULL && RedisModule_CallReplyType(scan_reply) == REDISMODULE_REPLY_ARRAY); RedisModule_Assert(RedisModule_CallReplyLength(scan_reply) == 2); |