mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 23:02:38 +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…
Reference in a new issue