X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/5e1d2d30f7b96c0aa808f8c6f9b267880c6097ca..4f948300bc26abb0aaa99343bc9f089ea98a9abe:/src/zmalloc.c 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().. *