Disable C4146 warning in pickle_unittest.cc.

Unary minus is used on unsigned type deliberately.

TEST= None
BUG= None
TBR= jar@chromium.org

Review URL: https://codereview.chromium.org/54073005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232320 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: 9dbfa9844c725b03ccaf77fcc1912156a5993b5b
diff --git a/base/pickle_unittest.cc b/base/pickle_unittest.cc
index 2bd45ac..6e9d41d 100644
--- a/base/pickle_unittest.cc
+++ b/base/pickle_unittest.cc
@@ -182,6 +182,10 @@
   EXPECT_TRUE(NULL == Pickle::FindNext(header_size, start, end));
 }
 
+#if defined(COMPILER_MSVC)
+#pragma warning(push)
+#pragma warning(disable: 4146)
+#endif
 TEST(PickleTest, FindNextOverflow) {
   size_t header_size = sizeof(Pickle::Header);
   size_t header_size2 = 2 * header_size;
@@ -205,6 +209,9 @@
   end = start + header_size;
   EXPECT_TRUE(NULL == Pickle::FindNext(header_size2, start, end));
 }
+#if defined(COMPILER_MSVC)
+#pragma warning(pop)
+#endif
 
 TEST(PickleTest, GetReadPointerAndAdvance) {
   Pickle pickle;