summaryrefslogtreecommitdiff
path: root/src/common/malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/malloc.c')
-rw-r--r--src/common/malloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/malloc.c b/src/common/malloc.c
index 93d03107b..c64f757bd 100644
--- a/src/common/malloc.c
+++ b/src/common/malloc.c
@@ -509,7 +509,7 @@ static void block_free(struct block* p)
hash_unfill[0] = p;
}
-unsigned int memmgr_usage (void)
+size_t memmgr_usage (void)
{
return memmgr_usage_bytes / 1024;
}
@@ -665,7 +665,7 @@ bool malloc_verify(void* ptr)
#endif
}
-unsigned int malloc_usage (void)
+size_t malloc_usage (void)
{
#ifdef USE_MEMMGR
return memmgr_usage ();