From 2dbb3c3887ff23c064aa762eb4dafaf4967c6416 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Thu, 11 Jul 2013 12:05:17 -0700 Subject: test: Fix tests. --- src/libstd/rt/uv/net.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/rt') diff --git a/src/libstd/rt/uv/net.rs b/src/libstd/rt/uv/net.rs index 09c748ec047..ec6e909219d 100644 --- a/src/libstd/rt/uv/net.rs +++ b/src/libstd/rt/uv/net.rs @@ -736,7 +736,7 @@ mod test { let server_stream_watcher = server_stream_watcher; rtdebug!("starting read"); let alloc: AllocCallback = |size| { - vec_to_uv_buf(vec::from_elem(size, 0)) + vec_to_uv_buf(vec::from_elem(size, 0u8)) }; do client_tcp_watcher.read_start(alloc) |stream_watcher, nread, buf, status| { -- cgit 1.4.1-3-g733a5