about summary refs log tree commit diff
path: root/src/rustc/back
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-08-29 16:11:06 -0700
committerBrian Anderson <banderson@mozilla.com>2012-08-29 16:23:36 -0700
commitc0c8d3aa8fdd054372f91c997913b33146bdf9bd (patch)
tree92ce54582b167358b3f09a0bc3861c643201c1aa /src/rustc/back
parentee2ce036ccd53d8c19689d86cf8b3bd5cf37f40f (diff)
downloadrust-c0c8d3aa8fdd054372f91c997913b33146bdf9bd.tar.gz
rust-c0c8d3aa8fdd054372f91c997913b33146bdf9bd.zip
core: Demode int/uint mods
Diffstat (limited to 'src/rustc/back')
-rw-r--r--src/rustc/back/rpath.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rustc/back/rpath.rs b/src/rustc/back/rpath.rs
index fa02b617606..286ca505714 100644
--- a/src/rustc/back/rpath.rs
+++ b/src/rustc/back/rpath.rs
@@ -128,7 +128,7 @@ fn get_relative_to(abs1: &Path, abs2: &Path) -> Path {
     assert len1 > 0u;
     assert len2 > 0u;
 
-    let max_common_path = uint::min(len1, len2) - 1u;
+    let max_common_path = uint::min(&len1, &len2) - 1u;
     let mut start_idx = 0u;
     while start_idx < max_common_path
         && split1[start_idx] == split2[start_idx] {