diff options
author | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-13 02:39:51 +0000 |
---|---|---|
committer | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-13 02:39:51 +0000 |
commit | cd679231a094df52a9f0778b7430fad0f8310e50 (patch) | |
tree | e58e849e0bbb1325c9ee61515e69202e3e95e572 /base/values_unittest.cc | |
parent | bcee07010621d9ccef2c83e7120fb17d7c0fc09f (diff) | |
download | chromium_src-cd679231a094df52a9f0778b7430fad0f8310e50.zip chromium_src-cd679231a094df52a9f0778b7430fad0f8310e50.tar.gz chromium_src-cd679231a094df52a9f0778b7430fad0f8310e50.tar.bz2 |
Fix some warnings.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@775 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/values_unittest.cc')
-rw-r--r-- | base/values_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/values_unittest.cc b/base/values_unittest.cc index 1470a0d..40422bb 100644 --- a/base/values_unittest.cc +++ b/base/values_unittest.cc @@ -85,7 +85,7 @@ TEST(ValuesTest, BinaryValue) { ASSERT_FALSE(binary); // If you want to represent an empty binary value, use a zero-length buffer. - buffer = new char[0]; + buffer = new char[1]; ASSERT_TRUE(buffer); binary = BinaryValue::Create(buffer, 0); ASSERT_TRUE(binary); |