summaryrefslogtreecommitdiff
path: root/tests/modules
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modules')
-rw-r--r--tests/modules/basics.c2
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);