You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 4, 2024. It is now read-only.
gdkwayland: Cast void pointer to the actual type before calling Box::from_raw()
warning: creating a `Box` from a void raw pointer
--> gdkwayland/src/wayland_window.rs:53:21
|
53 | let _ = Box::from_raw(data as *mut _);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
help: cast this to a pointer of the appropriate type
--> gdkwayland/src/wayland_window.rs:53:35
|
53 | let _ = Box::from_raw(data as *mut _);
| ^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_raw_with_void_ptr
0 commit comments