Skip to content

Commit

Permalink
Fix tyvar_behind_raw_pointer warning
Browse files Browse the repository at this point in the history
  • Loading branch information
t-botz authored and mattico committed Apr 5, 2018
1 parent f6dbeb1 commit e5626e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rustup-utils/src/raw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ fn symlink_junction_inner(target: &Path, junction: &Path) -> io::Result<()> {
let mut data = [0u8; MAXIMUM_REPARSE_DATA_BUFFER_SIZE];
let db = data.as_mut_ptr()
as *mut REPARSE_MOUNTPOINT_DATA_BUFFER;
let buf = &mut (*db).ReparseTarget as *mut _;
let buf = &mut (*db).ReparseTarget as *mut WCHAR;
let mut i = 0;
// FIXME: this conversion is very hacky
let v = br"\??\";
Expand Down

0 comments on commit e5626e9

Please sign in to comment.