summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorMadelyn Olson <34459052+madolson@users.noreply.github.com>2020-08-11 20:16:41 -0700
committerGitHub <noreply@github.com>2020-08-12 11:16:41 +0800
commit79c506ebf07db32bbcf84ede9d72dd9eb04e9812 (patch)
treec7bc1dc1e4cc4fa96a94a80fc6ebebb175cfa591 /src/modules
parentf2db379fa3f6e0c0d81350fd0f29febea95df469 (diff)
downloadredis-79c506ebf07db32bbcf84ede9d72dd9eb04e9812.tar.gz
Fixed timer warning (#5953)
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/hellotimer.c2
1 files changed, 1 insertions, 1 deletions
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);
}