Index: components/browser_watcher/exit_code_watcher_win_unittest.cc |
diff --git a/components/browser_watcher/exit_code_watcher_win_unittest.cc b/components/browser_watcher/exit_code_watcher_win_unittest.cc |
index 118cf770a3d3b7190b0b8f807aafaef1ddb71a80..df7de86767eeb329fb0e023074cd8cbc1e771047 100644 |
--- a/components/browser_watcher/exit_code_watcher_win_unittest.cc |
+++ b/components/browser_watcher/exit_code_watcher_win_unittest.cc |
@@ -92,7 +92,7 @@ class ExitCodeWatcherTest : public testing::Test { |
base::win::RegistryValueIterator it( |
HKEY_CURRENT_USER, kRegistryPath); |
- ASSERT_EQ(1, it.ValueCount()); |
+ ASSERT_EQ(1u, it.ValueCount()); |
base::win::RegKey key(HKEY_CURRENT_USER, |
kRegistryPath, |
KEY_QUERY_VALUE); |
@@ -104,7 +104,7 @@ class ExitCodeWatcherTest : public testing::Test { |
base::CompareCase::SENSITIVE)); |
DWORD value = 0; |
ASSERT_EQ(ERROR_SUCCESS, key.ReadValueDW(it.Name(), &value)); |
- ASSERT_EQ(exit_code, value); |
+ ASSERT_EQ(exit_code, static_cast<int>(value)); |
} |
protected: |