From 6f287a5f57ee0143156f939bad7ac398e60bcda7 Mon Sep 17 00:00:00 2001 From: Joshua Peraza Date: Mon, 3 Jun 2019 16:59:11 -0700 Subject: linux: fix broken tests Fixes errors for comparisons between signed and unsigned ints. Change-Id: I7ef151ba84a48a0c8cc449cfaf12b9fef775d5a7 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/1642361 Reviewed-by: Mark Mentovai --- src/client/linux/handler/exception_handler_unittest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/linux/handler') diff --git a/src/client/linux/handler/exception_handler_unittest.cc b/src/client/linux/handler/exception_handler_unittest.cc index be49ef09..bcbf9c26 100644 --- a/src/client/linux/handler/exception_handler_unittest.cc +++ b/src/client/linux/handler/exception_handler_unittest.cc @@ -887,13 +887,13 @@ TEST(ExceptionHandlerTest, InstructionPointerMemoryNullPointer) { uint64_t instruction_pointer; ASSERT_TRUE(exception_context->GetInstructionPointer(&instruction_pointer)); - EXPECT_EQ(instruction_pointer, 0); + EXPECT_EQ(instruction_pointer, 0u); MinidumpMemoryList* memory_list = minidump.GetMemoryList(); ASSERT_TRUE(memory_list); unsigned int region_count = memory_list->region_count(); - ASSERT_GE(region_count, 1); + ASSERT_GE(region_count, 1u); for (unsigned int region_index = 0; region_index < region_count; -- cgit v1.2.1