You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gu...@apache.org on 2021/12/29 11:11:19 UTC
[incubator-nuttx] 03/07: Fix termios/lib_cfspeed.c:78:5: error: large integer implicitly truncated to unsigned type
This is an automated email from the ASF dual-hosted git repository.
gustavonihei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 077a28eff6930350f7037d271b69711a20217db4
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Fri Dec 17 17:19:43 2021 +0800
Fix termios/lib_cfspeed.c:78:5: error: large integer implicitly truncated to unsigned type
Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
include/termios.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/termios.h b/include/termios.h
index f2fb090..924c88c 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 */