diff options
author | Zachary Dremann <dremann@gmail.com> | 2014-06-30 12:59:36 -0400 |
---|---|---|
committer | Zachary Dremann <dremann@gmail.com> | 2014-06-30 12:59:36 -0400 |
commit | 2374115a200472567e464341d2000e0fa098e7a1 (patch) | |
tree | eb327ccdb189e72b130860fb874efb62e7ac2da3 | |
parent | ae22f22a931b207301681f2fc948e8e9cfd1daf7 (diff) | |
download | rusty-irc-2374115a200472567e464341d2000e0fa098e7a1.tar.gz rusty-irc-2374115a200472567e464341d2000e0fa098e7a1.zip |
Bare pointers must now be *const, instead of just *
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -80,7 +80,7 @@ impl<T: Iterator<String>+Send+Share> IrcClient<T> { let mut reader_client = reader_client; loop { unsafe { - let raw: *mut TcpStream = reader.get_ref() as *_ as *mut _; + let raw: *mut TcpStream = reader.get_ref() as *const _ as *mut _; (*raw).set_read_timeout(Some(500)); } |