We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents da83854 + 591b69c commit 5ba47b5Copy full SHA for 5ba47b5
src/debug.c
@@ -336,7 +336,7 @@ void debugCommand(redisClient *c) {
336
dictExpand(c->db->dict,keys);
337
for (j = 0; j < keys; j++) {
338
snprintf(buf,sizeof(buf),"%s:%lu",
339
- (c->argc == 3) ? "key" : c->argv[3]->ptr, j);
+ (c->argc == 3) ? "key" : (char*)c->argv[3]->ptr, j);
340
key = createStringObject(buf,strlen(buf));
341
if (lookupKeyRead(c->db,key) != NULL) {
342
decrRefCount(key);
0 commit comments