提交 9738e587 编写于 作者: A antirez

Fixed compilation on FreeBSD

上级 825d2904
...@@ -262,7 +262,7 @@ size_t zmalloc_get_rss(void) { ...@@ -262,7 +262,7 @@ size_t zmalloc_get_rss(void) {
return t_info.resident_size; return t_info.resident_size;
} }
#else #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 /* If we can't get the RSS in an OS-specific way for this system just
* return the memory usage we estimated in zmalloc().. * return the memory usage we estimated in zmalloc()..
* *
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册