]> git.proxmox.com Git - mirror_edk2.git/commit
StdLib/sys/termios: Define cc_t as unsigned
authorAlex James <theracermaster@gmail.com>
Tue, 18 Dec 2018 04:25:12 +0000 (20:25 -0800)
committerJaben Carsey <jaben.carsey@intel.com>
Wed, 2 Jan 2019 19:26:07 +0000 (11:26 -0800)
commit5f5c60cc2d427cd953719dea9c57456a5d94d4ea
treeca2dd00c6a45e3da51113240c9cc52b7118bce69
parentada4a003f9e42c27ce6c6cdad74157b8ec4c13ec
StdLib/sys/termios: Define cc_t as unsigned

According to the POSIX standard, cc_t, speed_t, and tcflag_t should be
unsigned integer types. Define cc_t as unsigned to match POSIX and fix
an implicit conversion error when building StdLib with XCODE5/CLANG38.

Cc: Daryl McDaniel <edk2-lists@mc2research.org>
Cc: Jaben Carsey <jaben.carsey@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Alex James <theracermaster@gmail.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
StdLib/Include/sys/termios.h