Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | main/mosh: fix build with musl on ppc64le | Roberto Oliveira | 2017-04-04 | 1 | -0/+53 |
mosh was breaking when building in ppc64le using musl, because ioctl() is defined as ioctl(int, int) in musl and mosh is using TIOCSWINSZ macro as parameter. This was triggering a gcc warning and make the build fail. This patch does an explicit integer conversion in TIOCSWINSZ, as no bits get lost. |