File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
trunk/src/libstd/sys/unix Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 3e7385aae9d58c8e12137d7c07aad48551048c13
2
+ refs/heads/master: 6b7c5b9f08bba3b58d322322f630c6f7be5c7cfe
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 552080181c58beef03493a110b4a38b20b6b5da5
5
5
refs/heads/try: 961e0358e1a5c0faaef606e31e9965742c1643bf
Original file line number Diff line number Diff line change @@ -122,9 +122,9 @@ pub fn write(w: &mut Write) -> io::Result<()> {
122
122
123
123
try!( writeln ! ( w, "stack backtrace:" ) ) ;
124
124
// 100 lines should be enough
125
- const SIZE : uint = 100 ;
125
+ const SIZE : usize = 100 ;
126
126
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 } ;
128
128
129
129
// skipping the first one as it is write itself
130
130
let iter = ( 1 ..cnt) . map ( |i| {
Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ pub fn args() -> Args {
339
339
let info = objc_msgSend ( klass, process_info_sel) ;
340
340
let args = objc_msgSend ( info, arguments_sel) ;
341
341
342
- let cnt: int = mem:: transmute ( objc_msgSend ( args, count_sel) ) ;
342
+ let cnt: usize = mem:: transmute ( objc_msgSend ( args, count_sel) ) ;
343
343
for i in ( 0 ..cnt) {
344
344
let tmp = objc_msgSend ( args, object_at_sel, i) ;
345
345
let utf_c_str: * const libc:: c_char =
You can’t perform that action at this time.
0 commit comments