Skip to content

Commit 12812cb

Browse files
committed
---
yaml --- r: 195103 b: refs/heads/beta c: 6b7c5b9 h: refs/heads/master i: 195101: 1fd7de1 195099: 2004d94 195095: 1baceaf 195087: 05debbb 195071: ae83afa v: v3
1 parent 24b1a04 commit 12812cb

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
@@ -31,7 +31,7 @@ refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
3232
refs/heads/batch: b7fd822592a4fb577552d93010c4a4e14f314346
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34-
refs/heads/beta: 3e7385aae9d58c8e12137d7c07aad48551048c13
34+
refs/heads/beta: 6b7c5b9f08bba3b58d322322f630c6f7be5c7cfe
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3636
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
3737
refs/heads/tmp: be7f6ac7008f8ddf980ac07026b05bdd865f29cc

branches/beta/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/beta/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)