mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
touch: remove transmute to fix clippy warning
This commit is contained in:
parent
dd19f85d2b
commit
898914b6fb
1 changed files with 1 additions and 1 deletions
|
@ -491,7 +491,7 @@ fn pathbuf_from_stdout() -> UResult<PathBuf> {
|
|||
// to a u32.
|
||||
let ret = unsafe {
|
||||
GetFinalPathNameByHandleW(
|
||||
std::mem::transmute(handle),
|
||||
handle,
|
||||
file_path_buffer.as_mut_ptr(),
|
||||
file_path_buffer.len() as u32,
|
||||
FILE_NAME_OPENED,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue