Skip to content

Commit 5f50746

Browse files
Ilya Dmitrichenkoalexcrichton
authored andcommitted
---
yaml --- r: 126652 b: refs/heads/snap-stage3 c: fcaee85 h: refs/heads/master v: v3
1 parent 91354cd commit 5f50746

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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: 7be8f0af0393dcdb077c2f6b1653836fd3fba235
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: a491551597c4eff030e3f64158569de4de71292a
4+
refs/heads/snap-stage3: fcaee85ced65fae0aad4249e19ec85cbffd4d21c
55
refs/heads/try: 502e4c045236682e9728539dc0d2b3d0b237f55c
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/librlibc/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ pub unsafe extern "C" fn memcmp(s1: *const u8, s2: *const u8, n: uint) -> i32 {
9595
let a = *offset(s1, i as int);
9696
let b = *offset(s2, i as int);
9797
if a != b {
98-
return (a - b) as i32
98+
return a as i32 - b as i32
9999
}
100100
i += 1;
101101
}

0 commit comments

Comments
 (0)