summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-10-09 11:26:51 +0200
committerantirez <antirez@gmail.com>2014-10-09 11:26:51 +0200
commit5ba47b50ae6ea5e0ed56598d0ef33dc43c6a7abf (patch)
tree00d1d287445f1ac114771e7c3113d4d76202b95e
parentda838544ae5f5e914cad85c1d6766ba79d71b32b (diff)
parent591b69c745f8d8a9cff7a43083c3b0d0ac333362 (diff)
downloadredis-5ba47b50ae6ea5e0ed56598d0ef33dc43c6a7abf.tar.gz
Merge branch 'unstable' of github.com:/antirez/redis into unstable
-rw-r--r--src/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.c b/src/debug.c
index 68878385f..d566f716d 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -336,7 +336,7 @@ void debugCommand(redisClient *c) {
dictExpand(c->db->dict,keys);
for (j = 0; j < keys; j++) {
snprintf(buf,sizeof(buf),"%s:%lu",
- (c->argc == 3) ? "key" : c->argv[3]->ptr, j);
+ (c->argc == 3) ? "key" : (char*)c->argv[3]->ptr, j);
key = createStringObject(buf,strlen(buf));
if (lookupKeyRead(c->db,key) != NULL) {
decrRefCount(key);