Merge "termios_test.cpp: move signedness cast." into main am: 573aa599ff
Original change: https://android-review.googlesource.com/c/platform/bionic/+/3128257 Change-Id: I79d3c963cf1fe058d72ae0908821fd6cfcd9f54d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
1b7f1c35c1
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ TEST(termios, cfmakeraw) {
|
|||
EXPECT_EQ(0U, (t.c_oflag & OPOST));
|
||||
EXPECT_EQ(0U, (t.c_lflag & (ECHO|ECHONL|ICANON|ISIG|IEXTEN)));
|
||||
EXPECT_EQ(0U, (t.c_cflag & PARENB));
|
||||
EXPECT_EQ(CS8, static_cast<int>(t.c_cflag & CSIZE));
|
||||
EXPECT_EQ(static_cast<unsigned>(CS8), (t.c_cflag & CSIZE));
|
||||
EXPECT_EQ(1, t.c_cc[VMIN]);
|
||||
EXPECT_EQ(0, t.c_cc[VTIME]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue