Skip to content

Commit 6343542

Browse files
authored
Rollup merge of rust-lang#39861 - retep998:small-fix, r=alexcrichton
Fix parameter to GetUserProfileDirectoryW
2 parents 034acc1 + d5a4db3 commit 6343542

File tree

1 file changed

+1
-1
lines changed
  • src/libstd/sys/windows

1 file changed

+1
-1
lines changed

src/libstd/sys/windows/c.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ extern "system" {
912912
pub fn Sleep(dwMilliseconds: DWORD);
913913
pub fn GetProcessId(handle: HANDLE) -> DWORD;
914914
pub fn GetUserProfileDirectoryW(hToken: HANDLE,
915-
lpProfileDir: LPCWSTR,
915+
lpProfileDir: LPWSTR,
916916
lpcchSize: *mut DWORD) -> BOOL;
917917
pub fn SetHandleInformation(hObject: HANDLE,
918918
dwMask: DWORD,

0 commit comments

Comments
 (0)