diff options
author | Madelyn Olson <34459052+madolson@users.noreply.github.com> | 2020-08-11 20:16:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-12 11:16:41 +0800 |
commit | 79c506ebf07db32bbcf84ede9d72dd9eb04e9812 (patch) | |
tree | c7bc1dc1e4cc4fa96a94a80fc6ebebb175cfa591 /src/modules | |
parent | f2db379fa3f6e0c0d81350fd0f29febea95df469 (diff) | |
download | redis-79c506ebf07db32bbcf84ede9d72dd9eb04e9812.tar.gz |
Fixed timer warning (#5953)
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/hellotimer.c | 2 |
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); } |