diff options
| author | Christopher Durham <cad97@cad97.com> | 2017-12-23 03:47:13 -0500 |
|---|---|---|
| committer | Christopher Durham <cad97@cad97.com> | 2017-12-23 03:47:13 -0500 |
| commit | 056370167a832165fba16b6350b3ffac686d23bc (patch) | |
| tree | 45acd4ea79bf85c9bbdba7a03ddd098c12dac030 /src/libstd/sys/windows | |
| parent | 1e2bd7021acc7d2243a164d75ac8d2fc05ed4513 (diff) | |
| download | rust-056370167a832165fba16b6350b3ffac686d23bc.tar.gz rust-056370167a832165fba16b6350b3ffac686d23bc.zip | |
Annotate raw pointer target types
cc https://github.com/rust-lang/rust/issues/46906 cc https://github.com/rust-lang/rust/pull/46914
Diffstat (limited to 'src/libstd/sys/windows')
| -rw-r--r-- | src/libstd/sys/windows/fs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/windows/fs.rs b/src/libstd/sys/windows/fs.rs index ae9535139d9..165e1b0609b 100644 --- a/src/libstd/sys/windows/fs.rs +++ b/src/libstd/sys/windows/fs.rs @@ -770,7 +770,7 @@ fn symlink_junction_inner(target: &Path, junction: &Path) -> io::Result<()> { let mut data = [0u8; c::MAXIMUM_REPARSE_DATA_BUFFER_SIZE]; let db = data.as_mut_ptr() as *mut c::REPARSE_MOUNTPOINT_DATA_BUFFER; - let buf = &mut (*db).ReparseTarget as *mut _; + let buf = &mut (*db).ReparseTarget as *mut c::WCHAR; let mut i = 0; // FIXME: this conversion is very hacky let v = br"\??\"; |
