mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
Fix RedisModule_Call tests on 32bit (#9481)
This commit is contained in:
committed by
GitHub
parent
3ca6972ecd
commit
05e6b97bed
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user