From 9a6cee2b59115810cb8ff1d1904c0d86b63a0f99 Mon Sep 17 00:00:00 2001 From: liushuyu Date: Sun, 4 Sep 2022 01:57:05 -0600 Subject: [PATCH] font: fix the function signature for log_buffer_message ... ... this will fix the build on non-x86 architectures --- wezterm-font/src/hbwrap.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wezterm-font/src/hbwrap.rs b/wezterm-font/src/hbwrap.rs index 0ac5eb7821b..2825ad6c38e 100644 --- a/wezterm-font/src/hbwrap.rs +++ b/wezterm-font/src/hbwrap.rs @@ -335,7 +335,7 @@ impl Drop for Buffer { extern "C" fn log_buffer_message( _buf: *mut hb_buffer_t, _font: *mut hb_font_t, - message: *const i8, + message: *const c_char, _user_data: *mut c_void, ) -> i32 { unsafe {