Skip to content

Commit

Permalink
Rollup merge of rust-lang#39861 - retep998:small-fix, r=alexcrichton
Browse files Browse the repository at this point in the history
Fix parameter to GetUserProfileDirectoryW
  • Loading branch information
frewsxcv authored Feb 16, 2017
2 parents 034acc1 + d5a4db3 commit 6343542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/sys/windows/c.rs
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ extern "system" {
pub fn Sleep(dwMilliseconds: DWORD);
pub fn GetProcessId(handle: HANDLE) -> DWORD;
pub fn GetUserProfileDirectoryW(hToken: HANDLE,
lpProfileDir: LPCWSTR,
lpProfileDir: LPWSTR,
lpcchSize: *mut DWORD) -> BOOL;
pub fn SetHandleInformation(hObject: HANDLE,
dwMask: DWORD,
Expand Down

0 comments on commit 6343542

Please sign in to comment.