Skip to content

Commit

Permalink
Fix arm build of malloc_stats_print (#407)
Browse files Browse the repository at this point in the history
 

Signed-off-by: Calvin Neo <calvinneo1995@gmail.com>
  • Loading branch information
CalvinNeo authored Dec 17, 2024
1 parent 0fdd294 commit afe805f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proxy_components/proxy_ffi/src/jemalloc_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ extern "C" {
) -> ::std::os::raw::c_int;

pub fn malloc_stats_print(
write_cb: Option<unsafe extern "C" fn(*mut c_void, *const i8)>,
write_cb: Option<unsafe extern "C" fn(*mut c_void, *const ::std::os::raw::c_char)>,
cbopaque: *mut c_void,
opts: *const i8,
opts: *const ::std::os::raw::c_char,
);
}

Expand Down

0 comments on commit afe805f

Please sign in to comment.