aboutsummaryrefslogtreecommitdiffstats
path: root/libc/malloc_debug/tests/backtrace_fake.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/malloc_debug/tests/backtrace_fake.cpp')
-rw-r--r--libc/malloc_debug/tests/backtrace_fake.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/malloc_debug/tests/backtrace_fake.cpp b/libc/malloc_debug/tests/backtrace_fake.cpp
index 32da696bb..db542e5e2 100644
--- a/libc/malloc_debug/tests/backtrace_fake.cpp
+++ b/libc/malloc_debug/tests/backtrace_fake.cpp
@@ -52,7 +52,7 @@ size_t backtrace_get(uintptr_t* frames, size_t frame_num) {
return total_frames;
}
-void backtrace_log(uintptr_t* frames, size_t frame_count) {
+void backtrace_log(const uintptr_t* frames, size_t frame_count) {
for (size_t i = 0; i < frame_count; i++) {
error_log(" #%02zd pc %p", i, reinterpret_cast<void*>(frames[i]));
}