Fix error[E0308]: mismatched types for libafl_qemu_init (#2593)

This commit is contained in:
jejuisland87654 2024-10-09 17:17:51 +02:00 committed by GitHub
parent c03653f7be
commit efa99ee3c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -552,7 +552,7 @@ impl Qemu {
argv.push(ptr::null()); // argv is always null terminated.
unsafe {
libafl_qemu_init(argc, argv.as_ptr() as *mut *mut i8);
libafl_qemu_init(argc, argv.as_ptr() as *mut *mut ::std::os::raw::c_char);
}
#[cfg(emulation_mode = "systemmode")]