diff --git a/tests/modules/postnotifications.c b/tests/modules/postnotifications.c index b4a97cbd5c..f5878c8f03 100644 --- a/tests/modules/postnotifications.c +++ b/tests/modules/postnotifications.c @@ -213,7 +213,7 @@ static void KeySpace_ServerEventCallback(RedisModuleCtx *ctx, RedisModuleEvent e REDISMODULE_NOT_USED(eid); REDISMODULE_NOT_USED(data); if (subevent > 3) { - RedisModule_Log(ctx, "warning", "Got an unexpected subevent '%ld'", subevent); + RedisModule_Log(ctx, "warning", "Got an unexpected subevent '%llu'", subevent); return; } static const char* events[] = {