From 9738e587da7d652aa8b0ec2ad5de59f854586858 Mon Sep 17 00:00:00 2001 From: antirez Date: Thu, 20 Jan 2011 10:59:25 +0100 Subject: [PATCH] Fixed compilation on FreeBSD --- src/zmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zmalloc.c b/src/zmalloc.c index b438017dc..aa3ccfe96 100644 --- a/src/zmalloc.c +++ b/src/zmalloc.c @@ -262,7 +262,7 @@ size_t zmalloc_get_rss(void) { return t_info.resident_size; } #else -float zmalloc_get_rss(void) { +size_t zmalloc_get_rss(void) { /* If we can't get the RSS in an OS-specific way for this system just * return the memory usage we estimated in zmalloc().. *