diff options
author | antirez <antirez@gmail.com> | 2014-10-09 11:26:51 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2014-10-09 11:26:51 +0200 |
commit | 5ba47b50ae6ea5e0ed56598d0ef33dc43c6a7abf (patch) | |
tree | 00d1d287445f1ac114771e7c3113d4d76202b95e | |
parent | da838544ae5f5e914cad85c1d6766ba79d71b32b (diff) | |
parent | 591b69c745f8d8a9cff7a43083c3b0d0ac333362 (diff) | |
download | redis-5ba47b50ae6ea5e0ed56598d0ef33dc43c6a7abf.tar.gz |
Merge branch 'unstable' of github.com:/antirez/redis into unstable
-rw-r--r-- | src/debug.c | 2 |
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); |