Skip to content

Commit 1d5c5b9

Browse files
committed
---
yaml --- r: 46974 b: refs/heads/try c: 206757f h: refs/heads/master v: v3
1 parent 48f1f31 commit 1d5c5b9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 3bbcac322669cff3abde5be937cc4ec3860f3985
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: a6d9689399d091c3265f00434a69c551a61c28dc
5-
refs/heads/try: cc8902994248930ef0902ff68483ce1991fa4e24
5+
refs/heads/try: 206757f8688bfe9958854952e7f1f21b5374a508
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libcore/os.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,8 +404,9 @@ pub fn self_exe_path() -> Option<Path> {
404404
fn load_self() -> Option<~str> {
405405
unsafe {
406406
do fill_charp_buf() |buf, sz| {
407+
let mut sz = sz as u32;
407408
libc::funcs::extra::_NSGetExecutablePath(
408-
buf, &mut (sz as u32)) == (0 as c_int)
409+
buf, &mut sz) == (0 as c_int)
409410
}
410411
}
411412
}

0 commit comments

Comments
 (0)