Skip to content

Commit 79c506e

Browse files
authored
Fixed timer warning (redis#5953)
1 parent f2db379 commit 79c506e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/hellotimer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
/* Timer callback. */
4141
void timerHandler(RedisModuleCtx *ctx, void *data) {
4242
REDISMODULE_NOT_USED(ctx);
43-
printf("Fired %s!\n", data);
43+
printf("Fired %s!\n", (char *)data);
4444
RedisModule_Free(data);
4545
}
4646

0 commit comments

Comments
 (0)