about summary refs log tree commit diff
path: root/src/libstd/sync/mpsc
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-02-24 13:49:01 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-02-24 13:49:01 +0530
commitb182cd7245a999ac702f88c89dcc28811d6fdf8a (patch)
tree4d7d5a2e4766e439eb398807e8e66bc4d1b1dcf2 /src/libstd/sync/mpsc
parent2d74b53a034dc538d624f6c3b3ec313d40033415 (diff)
downloadrust-b182cd7245a999ac702f88c89dcc28811d6fdf8a.tar.gz
rust-b182cd7245a999ac702f88c89dcc28811d6fdf8a.zip
Fix integers in tests (fixup #22700)
Diffstat (limited to 'src/libstd/sync/mpsc')
-rw-r--r--src/libstd/sync/mpsc/select.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/mpsc/select.rs b/src/libstd/sync/mpsc/select.rs
index b6f93b8e0e5..8de5bbc6206 100644
--- a/src/libstd/sync/mpsc/select.rs
+++ b/src/libstd/sync/mpsc/select.rs
@@ -473,7 +473,7 @@ mod test {
 
     #[test]
     fn stress() {
-        static AMT: u32 = 10000;
+        static AMT: i32 = 10000;
         let (tx1, rx1) = channel::<i32>();
         let (tx2, rx2) = channel::<i32>();
         let (tx3, rx3) = channel::<()>();