From: antirez Date: Fri, 14 May 2010 20:56:06 +0000 (+0200) Subject: fixed a warning seen with some GCC version under Linux X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/3be2c9d732618512336f66f3de918941fc8f32d6 fixed a warning seen with some GCC version under Linux --- diff --git a/redis.c b/redis.c index b5bbd04d..7a183fa1 100644 --- 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"