From 79c506ebf07db32bbcf84ede9d72dd9eb04e9812 Mon Sep 17 00:00:00 2001 From: Madelyn Olson <34459052+madolson@users.noreply.github.com> Date: Tue, 11 Aug 2020 20:16:41 -0700 Subject: [PATCH] Fixed timer warning (#5953) --- src/modules/hellotimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/hellotimer.c b/src/modules/hellotimer.c index 57b111b7c..f6700df26 100644 --- a/src/modules/hellotimer.c +++ b/src/modules/hellotimer.c @@ -40,7 +40,7 @@ /* Timer callback. */ void timerHandler(RedisModuleCtx *ctx, void *data) { REDISMODULE_NOT_USED(ctx); - printf("Fired %s!\n", data); + printf("Fired %s!\n", (char *)data); RedisModule_Free(data); }