summaryrefslogtreecommitdiff
path: root/src/zmalloc.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2011-01-20 10:59:25 +0100
committerantirez <antirez@gmail.com>2011-01-20 10:59:49 +0100
commitc4df22afb6756446d35bb7ed3fc4a0bc42086056 (patch)
treec42a9d91552f0aaab1a38b75cfe4e0715587034b /src/zmalloc.c
parent3bcffcbe5bc0acde311d0fb311f893400cd52e0e (diff)
downloadredis-c4df22afb6756446d35bb7ed3fc4a0bc42086056.tar.gz
Fixed compilation on FreeBSD
Diffstat (limited to 'src/zmalloc.c')
-rw-r--r--src/zmalloc.c2
1 files changed, 1 insertions, 1 deletions
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()..
*