about summary refs log tree commit diff
path: root/src/test/run-pass/structured-compare.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/structured-compare.rs')
-rw-r--r--src/test/run-pass/structured-compare.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/structured-compare.rs b/src/test/run-pass/structured-compare.rs
index 12d8fe8f4c8..4df802849e2 100644
--- a/src/test/run-pass/structured-compare.rs
+++ b/src/test/run-pass/structured-compare.rs
@@ -15,7 +15,7 @@ enum foo { large, small, }
 
 impl PartialEq for foo {
     fn eq(&self, other: &foo) -> bool {
-        ((*self) as uint) == ((*other) as uint)
+        ((*self) as usize) == ((*other) as usize)
     }
     fn ne(&self, other: &foo) -> bool { !(*self).eq(other) }
 }