Fixed break in Rust bindings where callback registering expected a
*const i8, but were provided with a *const c_char. Changed to be both
*const c_char in alignment with the libguestfs documentation.
Signed-off-by: Jacob Reger <regerjacob(a)gmail.com>
---
rust/src/event.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust/src/event.rs b/rust/src/event.rs
index 72afd3cf6..156968a69 100644
--- a/rust/src/event.rs
+++ b/rust/src/event.rs
@@ -29,7 +29,7 @@ type GuestfsEventCallback = extern "C" fn(
u64,
i32,
i32,
- *const i8,
+ *const c_char,
usize,
*const u64,
usize,
--
2.39.5 (Apple Git-154)