mirror of
https://git.proxmox.com/git/proxmox-backup-qemu
synced 2025-10-05 15:54:32 +00:00
proxmox_backup_abort: use *const char
This commit is contained in:
parent
64100fed29
commit
1402fea34b
@ -558,7 +558,7 @@ pub extern "C" fn proxmox_backup_connect(error: * mut * mut c_char) -> *mut Prox
|
|||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn proxmox_backup_abort(
|
pub extern "C" fn proxmox_backup_abort(
|
||||||
handle: *mut ProxmoxBackupHandle,
|
handle: *mut ProxmoxBackupHandle,
|
||||||
reason: *mut c_char,
|
reason: *const c_char,
|
||||||
) {
|
) {
|
||||||
let task = unsafe { &mut *(handle as * mut BackupTask) };
|
let task = unsafe { &mut *(handle as * mut BackupTask) };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user