core: Demode int/uint mods

This commit is contained in:
Brian Anderson
2012-08-29 16:11:06 -07:00
parent ee2ce036cc
commit c0c8d3aa8f
15 changed files with 34 additions and 26 deletions

View File

@@ -563,8 +563,8 @@ fn compute_id_range(visit_ids_fn: fn(fn@(node_id))) -> id_range {
let min = @mut int::max_value;
let max = @mut int::min_value;
do visit_ids_fn |id| {
*min = int::min(*min, id);
*max = int::max(*max, id + 1);
*min = int::min(min, &id);
*max = int::max(max, &(id + 1));
}
return {min:*min, max:*max};
}