Skip to content

Commit 5ba47b5

Browse files
committed
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2 parents da83854 + 591b69c commit 5ba47b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/debug.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ void debugCommand(redisClient *c) {
336336
dictExpand(c->db->dict,keys);
337337
for (j = 0; j < keys; j++) {
338338
snprintf(buf,sizeof(buf),"%s:%lu",
339-
(c->argc == 3) ? "key" : c->argv[3]->ptr, j);
339+
(c->argc == 3) ? "key" : (char*)c->argv[3]->ptr, j);
340340
key = createStringObject(buf,strlen(buf));
341341
if (lookupKeyRead(c->db,key) != NULL) {
342342
decrRefCount(key);

0 commit comments

Comments
 (0)