mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-23 07:58:36 -07:00
rust: enable clippy::ptr_cast_constness
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
3a1c694d74
commit
5df3fe062f
7 changed files with 7 additions and 9 deletions
|
|
@ -160,7 +160,7 @@ impl CharBackend {
|
|||
receive_cb,
|
||||
event_cb,
|
||||
None,
|
||||
(owner as *const T as *mut T).cast::<c_void>(),
|
||||
(owner as *const T).cast_mut().cast::<c_void>(),
|
||||
core::ptr::null_mut(),
|
||||
true,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue