nbaksalyar/rust-streaming-http-parser

Compilation fails on 32 bit

meh opened this issue · 2 comments

meh commented

Trying to build mio-websockets for a RaspberryPI fails with this.

/home/meh/.multirust/toolchains/raspi/cargo/registry/src/github.com-0a35038f75765ae4/http-muncher-0.2.0/src/lib.rs:264:44: 264:61 error: mismatched types:
 expected `u32`,
    found `u64`
(expected u32,
    found u64) [E0308]
/home/meh/.multirust/toolchains/raspi/cargo/registry/src/github.com-0a35038f75765ae4/http-muncher-0.2.0/src/lib.rs:264                                            data.len() as u64) as usize;
                                                                                                                                                                  ^~~~~~~~~~~~~~~~~
/home/meh/.multirust/toolchains/raspi/cargo/registry/src/github.com-0a35038f75765ae4/http-muncher-0.2.0/src/lib.rs:264:44: 264:61 help: run `rustc --explain E0308` to see a detailed explanation
error: aborting due to previous error

Could you please try it again with the latest merged fix by @sybblow?

meh commented

Yep, it's building now.