fixed a warning seen with some GCC version under Linux
authorantirez <antirez@gmail.com>
Fri, 14 May 2010 20:56:06 +0000 (22:56 +0200)
committerantirez <antirez@gmail.com>
Fri, 14 May 2010 20:56:06 +0000 (22:56 +0200)
redis.c

diff --git a/redis.c b/redis.c
index b5bbd04db4a2f470cd9a0e6db109194de1d30d26..7a183fa125278820cdda9882d3e29dd050c27b49 100644 (file)
--- a/redis.c
+++ b/redis.c
@@ -7200,8 +7200,8 @@ static sds genRedisInfoString(void) {
         "total_connections_received:%lld\r\n"
         "total_commands_processed:%lld\r\n"
         "expired_keys:%lld\r\n"
-        "hash_max_zipmap_entries:%ld\r\n"
-        "hash_max_zipmap_value:%ld\r\n"
+        "hash_max_zipmap_entries:%zu\r\n"
+        "hash_max_zipmap_value:%zu\r\n"
         "pubsub_channels:%ld\r\n"
         "pubsub_patterns:%u\r\n"
         "vm_enabled:%d\r\n"