From: antirez Date: Thu, 20 Jan 2011 09:59:25 +0000 (+0100) Subject: Fixed compilation on FreeBSD X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/c4df22afb6756446d35bb7ed3fc4a0bc42086056?ds=inline;hp=3bcffcbe5bc0acde311d0fb311f893400cd52e0e Fixed compilation on FreeBSD --- 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().. *