diff --git a/alioth/src/hv/kvm/vm.rs b/alioth/src/hv/kvm/vm.rs index db99768..2cdbe92 100644 --- a/alioth/src/hv/kvm/vm.rs +++ b/alioth/src/hv/kvm/vm.rs @@ -146,7 +146,7 @@ impl Vm for KvmVm { } fn stop_vcpu(_id: u32, handle: &JoinHandle) -> Result<(), Error> { - ffi!(unsafe { libc::pthread_kill(handle.as_pthread_t(), SIGRTMIN()) })?; + ffi!(unsafe { libc::pthread_kill(handle.as_pthread_t() as _, SIGRTMIN()) })?; Ok(()) }