cpjreynolds / rustty

A terminal UI library
https://docs.rs/rustty
MIT License
153 stars 14 forks source link

Can't compile rustty #1

Closed selverob closed 9 years ago

selverob commented 9 years ago

Hi, when I try to use rustty in my project, both version 0.1.2 from crates.io and master from this repo fail to compile with this message:

Compiling rustty v0.1.2 (https://github.com/cpjreynolds/rustty.git#6cb5ca38)
/home/selvek/.cargo/git/checkouts/rustty-8937fa789520e257/master/src/core/terminal.rs:703:64: 703:74 error: mismatched types:
 expected `isize`,
    found `usize`
(expected isize,
    found usize) [E0308]
/home/selvek/.cargo/git/checkouts/rustty-8937fa789520e257/master/src/core/terminal.rs:703             nepolls = match epoll_wait(self.epfd, &mut events, timeout_ms) {
                                                                                                                                                         ^~~~~~~~~~
/home/selvek/.cargo/git/checkouts/rustty-8937fa789520e257/master/src/core/terminal.rs:703:64: 703:74 help: run `rustc --explain E0308` to see a detailed explanation
error: aborting due to previous error
Could not compile `rustty`.
cpjreynolds commented 9 years ago

Thank you! I'll get on this now, should have a fix up soon.