File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
library/std/src/sys/pal/windows Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ pub use windows_sys::*;
20
20
pub type DWORD = c_ulong ;
21
21
pub type ULONG = c_ulong ;
22
22
23
- pub type LPCVOID = * const c_void ;
24
23
pub type LPOVERLAPPED = * mut OVERLAPPED ;
25
24
pub type LPSECURITY_ATTRIBUTES = * mut SECURITY_ATTRIBUTES ;
26
25
pub type LPVOID = * mut c_void ;
Original file line number Diff line number Diff line change @@ -1425,7 +1425,7 @@ pub fn copy(from: &Path, to: &Path) -> io::Result<u64> {
1425
1425
_dwCallbackReason : c:: DWORD ,
1426
1426
_hSourceFile : c:: HANDLE ,
1427
1427
_hDestinationFile : c:: HANDLE ,
1428
- lpData : c :: LPCVOID ,
1428
+ lpData : * const c_void ,
1429
1429
) -> c:: DWORD {
1430
1430
if dwStreamNumber == 1 {
1431
1431
* ( lpData as * mut i64 ) = StreamBytesTransferred ;
You can’t perform that action at this time.
0 commit comments