New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failing build on macos #2

Merged
merged 1 commit into from Oct 31, 2015

Conversation

Projects
None yet
2 participants
@hrysd
Contributor

hrysd commented Oct 31, 2015

[kawaguchi:~/src/github.com/idobata/hokaido](hakodate)> cargo build
   Compiling hokaido v0.0.2 (file:///Users/hrysd/src/github.com/idobata/hokaido)
src/winsize.rs:9:24: 9:34 error: mismatched types:
 expected `u64`,
    found `i32`
(expected u64,
    found i32) [E0308]
src/winsize.rs:9     unsafe { ioctl(fd, TIOCGWINSZ, &winsize) };
                                        ^~~~~~~~~~
src/winsize.rs:9:24: 9:34 help: run `rustc --explain E0308` to see a detailed explanation
src/winsize.rs:15:24: 15:34 error: mismatched types:
 expected `u64`,
    found `i32`
(expected u64,
    found i32) [E0308]
src/winsize.rs:15     unsafe { ioctl(fd, TIOCSWINSZ, winsize); };
                                         ^~~~~~~~~~
src/winsize.rs:15:24: 15:34 help: run `rustc --explain E0308` to see a detailed explanation
error: aborting due to 2 previous errors
Could not compile `hokaido`.

To learn more, run the command again with --verbose.

hibariya added a commit that referenced this pull request Oct 31, 2015

Merge pull request #2 from hrysd/build-macos
Fix failing build on macos

@hibariya hibariya merged commit 83dd591 into idobata:hakodate Oct 31, 2015

@hibariya

This comment has been minimized.

Show comment
Hide comment
@hibariya

hibariya Oct 31, 2015

Member

Awesome 🐳 Thank you!

Member

hibariya commented Oct 31, 2015

Awesome 🐳 Thank you!

@hrysd hrysd deleted the hrysd:build-macos branch Oct 31, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment