Permalink
Browse files

Fixed compilation on FreeBSD

  • Loading branch information...
1 parent 3bcffcb commit c4df22afb6756446d35bb7ed3fc4a0bc42086056 @antirez committed Jan 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/zmalloc.c
View
@@ -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()..
*

0 comments on commit c4df22a

Please sign in to comment.