]> git.saurik.com Git - redis.git/commitdiff
I hate warnings
authorantirez <antirez@gmail.com>
Fri, 15 Jan 2010 18:55:52 +0000 (13:55 -0500)
committerantirez <antirez@gmail.com>
Fri, 15 Jan 2010 18:55:52 +0000 (13:55 -0500)
redis.c

diff --git a/redis.c b/redis.c
index 417cd200baeff8ccc8244a18541b21f1895b9b08..54ed0031392b5c8de2adf311a4c2f9482aed680f 100644 (file)
--- a/redis.c
+++ b/redis.c
@@ -7865,7 +7865,7 @@ static void debugCommand(redisClient *c) {
                 "+Key at:%p refcount:%d, value at:%p refcount:%d "
                 "encoding:%d serializedlength:%lld\r\n",
                 (void*)key, key->refcount, (void*)val, val->refcount,
-                val->encoding, rdbSavedObjectLen(val,NULL)));
+                val->encoding, (long long) rdbSavedObjectLen(val,NULL)));
         } else {
             addReplySds(c,sdscatprintf(sdsempty(),
                 "+Key at:%p refcount:%d, value swapped at: page %llu "