From 077a28eff6930350f7037d271b69711a20217db4 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Fri, 17 Dec 2021 17:19:43 +0800 Subject: [PATCH] Fix termios/lib_cfspeed.c:78:5: error: large integer implicitly truncated to unsigned type Signed-off-by: Xiang Xiao --- include/termios.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/termios.h b/include/termios.h index f2fb09075c4..924c88c2271 100644 --- a/include/termios.h +++ b/include/termios.h @@ -217,7 +217,7 @@ /* Baud rate selection */ -typedef unsigned int speed_t; /* Used for terminal baud rates */ +typedef unsigned long speed_t; /* Used for terminal baud rates */ /* Types used within the termios structure */