From c4df22afb6756446d35bb7ed3fc4a0bc42086056 Mon Sep 17 00:00:00 2001 From: antirez Date: Thu, 20 Jan 2011 10:59:25 +0100 Subject: [PATCH 1/1] 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 b438017d..aa3ccfe9 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().. * -- 2.45.2