From afe805f20fe87d6bf166e20cf22546c7a2fc80f3 Mon Sep 17 00:00:00 2001 From: Calvin Neo Date: Tue, 17 Dec 2024 17:48:03 +0800 Subject: [PATCH] Fix arm build of malloc_stats_print (#407) Signed-off-by: Calvin Neo --- proxy_components/proxy_ffi/src/jemalloc_utils.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy_components/proxy_ffi/src/jemalloc_utils.rs b/proxy_components/proxy_ffi/src/jemalloc_utils.rs index ce07031fef3..e65b8da286a 100644 --- a/proxy_components/proxy_ffi/src/jemalloc_utils.rs +++ b/proxy_components/proxy_ffi/src/jemalloc_utils.rs @@ -21,9 +21,9 @@ extern "C" { ) -> ::std::os::raw::c_int; pub fn malloc_stats_print( - write_cb: Option, + write_cb: Option, cbopaque: *mut c_void, - opts: *const i8, + opts: *const ::std::os::raw::c_char, ); }