We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5d8137 commit 538a8a5Copy full SHA for 538a8a5
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