summaryrefslogtreecommitdiffstats
path: root/lldb/unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2016-10-17 18:22:03 +0000
committerJustin Bogner <mail@justinbogner.com>2016-10-17 18:22:03 +0000
commitb69c3169b0a239259af1813f9c9feb22a074613d (patch)
tree46402224c37635ff5c3a924874273c2269b87c80 /lldb/unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp
parent9bbd4e27a94cd6f45e659697c232d131494e84cb (diff)
downloadbcm5719-llvm-b69c3169b0a239259af1813f9c9feb22a074613d.tar.gz
bcm5719-llvm-b69c3169b0a239259af1813f9c9feb22a074613d.zip
unittests: Specify types in a bunch of unittest EXPECT's
The EXPECT and ASSERT macros in gtest don't do the usual arithmetic conversions. Specify types in several of them to fix -Werror. llvm-svn: 284405
Diffstat (limited to 'lldb/unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp')
-rw-r--r--lldb/unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp b/lldb/unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp
index 0e74d88f2cd..1c88b3fa6ba 100644
--- a/lldb/unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp
+++ b/lldb/unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp
@@ -346,7 +346,7 @@ TEST_F(GDBRemoteClientBaseTest, SendContinueDelegateStructuredDataReceipt) {
ASSERT_EQ(PacketResult::Success, fix.server.SendPacket("T01"));
ASSERT_EQ(eStateStopped, fix.SendCPacket(response));
ASSERT_EQ("T01", response.GetStringRef());
- ASSERT_EQ(1, fix.delegate.structured_data_packets.size());
+ ASSERT_EQ(1ul, fix.delegate.structured_data_packets.size());
// Verify the packet contents. It should have been unescaped upon packet
// reception.
OpenPOWER on IntegriCloud