libguestfs: Rust binding build error and warning fixes

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@gmail.com>
This commit is contained in:
Jacob Reger
2025-02-25 09:00:40 -08:00
committed by Richard W.M. Jones
parent 95ed25aba6
commit d7d5264ce8

View File

@@ -29,7 +29,7 @@ type GuestfsEventCallback = extern "C" fn(
u64,
i32,
i32,
*const i8,
*const c_char,
usize,
*const u64,
usize,