Skip to content

Commit 2ac2fc9

Browse files
committed
---
yaml --- r: 194919 b: refs/heads/auto c: c89de2c h: refs/heads/master i: 194917: 7dc20d6 194915: 5995690 194911: 4624b6e v: v3
1 parent 859aacc commit 2ac2fc9

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
@@ -10,7 +10,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1010
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1111
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1212
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
13-
refs/heads/auto: d502f4221fd5472c4a7905cdc3c59533e9612822
13+
refs/heads/auto: c89de2c56baeb61e7cc434924dcc8bedd32b26b8
1414
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1515
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1616
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

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