We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f457272 commit 3867f32Copy full SHA for 3867f32
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: bb833ca0f0e878d381c3dc0c9afe958a810e4427
+refs/heads/master: 1b87dedc0ef08dc9ae56afd78357a4f1171e4f97
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: a6d9689399d091c3265f00434a69c551a61c28dc
5
refs/heads/try: ef355f6332f83371e4acf04fc4eb940ab41d78d3
trunk/src/libcore/os.rs
@@ -375,7 +375,7 @@ pub fn self_exe_path() -> Option<Path> {
375
KERN_PROC as c_int,
376
KERN_PROC_PATHNAME as c_int, -1 as c_int];
377
sysctl(vec::raw::to_ptr(mib), vec::len(mib) as c_uint,
378
- buf, &mut sz, ptr::null(),
+ buf as *mut c_void, &mut sz, ptr::null(),
379
0u as size_t) == (0 as c_int)
380
}
381
0 commit comments