about summary refs log tree commit diff
path: root/src/test/run-pass/send-resource.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/send-resource.rs')
-rw-r--r--src/test/run-pass/send-resource.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/send-resource.rs b/src/test/run-pass/send-resource.rs
index 47c3766797a..2c897c48a33 100644
--- a/src/test/run-pass/send-resource.rs
+++ b/src/test/run-pass/send-resource.rs
@@ -16,14 +16,14 @@ use std::thread::Thread;
 use std::sync::mpsc::channel;
 
 struct test {
-  f: int,
+  f: isize,
 }
 
 impl Drop for test {
     fn drop(&mut self) {}
 }
 
-fn test(f: int) -> test {
+fn test(f: isize) -> test {
     test {
         f: f
     }