From c4df22afb6756446d35bb7ed3fc4a0bc42086056 Mon Sep 17 00:00:00 2001 From: antirez Date: Thu, 20 Jan 2011 10:59:25 +0100 Subject: Fixed compilation on FreeBSD --- src/zmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/zmalloc.c') 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().. * -- cgit v1.2.1