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 @@ -21,7 +21,6 @@ pub type DWORD = c_ulong;
2121pub type WCHAR = u16 ;
2222pub type ULONG = c_ulong ;
2323
24- pub type LPCVOID = * const c_void ;
2524pub type LPOVERLAPPED = * mut OVERLAPPED ;
2625pub type LPSECURITY_ATTRIBUTES = * mut SECURITY_ATTRIBUTES ;
2726pub 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> {
14251425 _dwCallbackReason : c:: DWORD ,
14261426 _hSourceFile : c:: HANDLE ,
14271427 _hDestinationFile : c:: HANDLE ,
1428- lpData : c :: LPCVOID ,
1428+ lpData : * const c_void ,
14291429 ) -> c:: DWORD {
14301430 if dwStreamNumber == 1 {
14311431 * ( lpData as * mut i64 ) = StreamBytesTransferred ;
You can’t perform that action at this time.
0 commit comments