projects
/
redis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't encode element argument when dealing with ziplist
[redis.git]
/
src
/
redis-check-dump.c
diff --git
a/src/redis-check-dump.c
b/src/redis-check-dump.c
index 987e1db344418a32f982a5e2b7163b6013a1ed90..93b9c99de42e681371ddb03367a3797e7391da2d 100644
(file)
--- a/
src/redis-check-dump.c
+++ b/
src/redis-check-dump.c
@@
-538,7
+538,8
@@
void printErrorStack(entry *e) {
/* display error stack */
for (i = 0; i < errors.level; i++) {
- printf("0x%08lx - %s\n", errors.offset[i], errors.error[i]);
+ printf("0x%08lx - %s\n",
+ (unsigned long) errors.offset[i], errors.error[i]);
}
}