diff options
Diffstat (limited to 'intern/guardedalloc/intern/mallocn_lockfree_impl.c')
-rw-r--r-- | intern/guardedalloc/intern/mallocn_lockfree_impl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/guardedalloc/intern/mallocn_lockfree_impl.c b/intern/guardedalloc/intern/mallocn_lockfree_impl.c index 2041a1c132a..eaa60202f3c 100644 --- a/intern/guardedalloc/intern/mallocn_lockfree_impl.c +++ b/intern/guardedalloc/intern/mallocn_lockfree_impl.c @@ -452,12 +452,12 @@ void MEM_lockfree_set_memory_debug(void) malloc_debug_memset = true; } -uintptr_t MEM_lockfree_get_memory_in_use(void) +size_t MEM_lockfree_get_memory_in_use(void) { return mem_in_use; } -uintptr_t MEM_lockfree_get_mapped_memory_in_use(void) +size_t MEM_lockfree_get_mapped_memory_in_use(void) { return mmap_in_use; } @@ -473,7 +473,7 @@ void MEM_lockfree_reset_peak_memory(void) peak_mem = 0; } -uintptr_t MEM_lockfree_get_peak_memory(void) +size_t MEM_lockfree_get_peak_memory(void) { return peak_mem; } |