We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a25371 commit 61f617dCopy full SHA for 61f617d
std/src/sys/pal/windows/c.rs
@@ -21,7 +21,6 @@ pub type DWORD = c_ulong;
21
pub type WCHAR = u16;
22
pub type ULONG = c_ulong;
23
24
-pub type LPCVOID = *const c_void;
25
pub type LPOVERLAPPED = *mut OVERLAPPED;
26
pub type LPSECURITY_ATTRIBUTES = *mut SECURITY_ATTRIBUTES;
27
pub type LPVOID = *mut c_void;
std/src/sys/pal/windows/fs.rs
@@ -1425,7 +1425,7 @@ pub fn copy(from: &Path, to: &Path) -> io::Result<u64> {
1425
_dwCallbackReason: c::DWORD,
1426
_hSourceFile: c::HANDLE,
1427
_hDestinationFile: c::HANDLE,
1428
- lpData: c::LPCVOID,
+ lpData: *const c_void,
1429
) -> c::DWORD {
1430
if dwStreamNumber == 1 {
1431
*(lpData as *mut i64) = StreamBytesTransferred;
0 commit comments