Skip to content

Commit db9d4cf

Browse files
musl: s390x: use c_int instead of c_ulong for ioctl constants
Co-authored-by: Jubilee <46493976+workingjubilee@users.noreply.github.com>
1 parent 88de388 commit db9d4cf

File tree

1 file changed

+2
-2
lines changed
  • src/unix/linux_like/linux/musl/b64

1 file changed

+2
-2
lines changed

src/unix/linux_like/linux/musl/b64/s390x.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,8 @@ pub const TCSANOW: ::c_int = 0;
412412
pub const TCSADRAIN: ::c_int = 1;
413413
pub const TCSAFLUSH: ::c_int = 2;
414414

415-
pub const TIOCLINUX: ::c_ulong = 0x541C;
416-
pub const TIOCGSERIAL: ::c_ulong = 0x541E;
415+
pub const TIOCLINUX: ::c_int = 0x541C;
416+
pub const TIOCGSERIAL: ::c_int = 0x541E;
417417
pub const TIOCM_ST: ::c_int = 0x008;
418418
pub const TIOCM_SR: ::c_int = 0x010;
419419
pub const TIOCM_CTS: ::c_int = 0x020;

0 commit comments

Comments
 (0)