From 8f62fed364d7ada16961a7d3505fa0e776a158fe Mon Sep 17 00:00:00 2001 From: auronandace Date: Wed, 15 Apr 2026 14:09:42 +0100 Subject: [PATCH] fix types used in termios --- src/header/termios/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/header/termios/mod.rs b/src/header/termios/mod.rs index a6ce8be41e..5bd8de3318 100644 --- a/src/header/termios/mod.rs +++ b/src/header/termios/mod.rs @@ -9,7 +9,7 @@ use crate::{ }, platform::{ self, - types::{c_int, c_ulong, c_void, pid_t}, + types::{c_int, c_uchar, c_uint, c_ulong, c_void, pid_t}, }, }; @@ -23,9 +23,9 @@ pub mod sys; #[path = "redox.rs"] pub mod sys; -pub type cc_t = u8; -pub type speed_t = u32; -pub type tcflag_t = u32; +pub type cc_t = c_uchar; +pub type speed_t = c_uint; +pub type tcflag_t = c_uint; pub const TCOOFF: c_int = 0; pub const TCOON: c_int = 1;