Skip to content

Commit 04f13da

Browse files
committed
[lldb] Fix compiler warning in CommunicationTest
"0x80 changes value when converted to char"
1 parent efdd4c1 commit 04f13da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/unittests/Core/CommunicationTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ TEST(CommunicationTest, WriteAll) {
7676
// Write 1 MiB of data into the pipe.
7777
lldb::ConnectionStatus conn_status;
7878
Status error;
79-
std::vector<char> data(1024 * 1024, 0x80);
79+
std::vector<uint8_t> data(1024 * 1024, 0x80);
8080
EXPECT_EQ(write_comm.WriteAll(data.data(), data.size(), conn_status, &error),
8181
data.size());
8282
EXPECT_EQ(conn_status, lldb::eConnectionStatusSuccess);

0 commit comments

Comments
 (0)