Skip to content

Commit 7c990e9

Browse files
committed
---
yaml --- r: 195317 b: refs/heads/snap-stage3 c: 6b7c5b9 h: refs/heads/master i: 195315: ea97d77 v: v3
1 parent 6726196 commit 7c990e9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 14192d6df5cc714e5c9a3ca70b08f2514d977be2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 3e7385aae9d58c8e12137d7c07aad48551048c13
4+
refs/heads/snap-stage3: 6b7c5b9f08bba3b58d322322f630c6f7be5c7cfe
55
refs/heads/try: 961e0358e1a5c0faaef606e31e9965742c1643bf
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/src/libstd/sys/unix/backtrace.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ pub fn write(w: &mut Write) -> io::Result<()> {
122122

123123
try!(writeln!(w, "stack backtrace:"));
124124
// 100 lines should be enough
125-
const SIZE: uint = 100;
125+
const SIZE: usize = 100;
126126
let mut buf: [*mut libc::c_void; SIZE] = unsafe {mem::zeroed()};
127-
let cnt = unsafe { backtrace(buf.as_mut_ptr(), SIZE as libc::c_int) as uint};
127+
let cnt = unsafe { backtrace(buf.as_mut_ptr(), SIZE as libc::c_int) as usize};
128128

129129
// skipping the first one as it is write itself
130130
let iter = (1..cnt).map(|i| {

branches/snap-stage3/src/libstd/sys/unix/os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ pub fn args() -> Args {
339339
let info = objc_msgSend(klass, process_info_sel);
340340
let args = objc_msgSend(info, arguments_sel);
341341

342-
let cnt: int = mem::transmute(objc_msgSend(args, count_sel));
342+
let cnt: usize = mem::transmute(objc_msgSend(args, count_sel));
343343
for i in (0..cnt) {
344344
let tmp = objc_msgSend(args, object_at_sel, i);
345345
let utf_c_str: *const libc::c_char =

0 commit comments

Comments
 (0)