| Index: base/security_unittest.cc
|
| diff --git a/base/security_unittest.cc b/base/security_unittest.cc
|
| index a6d3480ef5513ebd1bf7b36fdabf333bef42241e..d786273c023aa1fbdf33c834f718d07eab057656 100644
|
| --- a/base/security_unittest.cc
|
| +++ b/base/security_unittest.cc
|
| @@ -194,7 +194,9 @@ TEST(SecurityTest, MAYBE_NewOverflow) {
|
| }
|
| // On windows, the compiler prevents static array sizes of more than
|
| // 0x7fffffff (error C2148).
|
| -#if !defined(OS_WIN) || !defined(ARCH_CPU_64_BITS)
|
| +#if defined(OS_WIN) && defined(ARCH_CPU_64_BITS)
|
| + ALLOW_UNUSED_LOCAL(kDynamicArraySize);
|
| +#else
|
| {
|
| scoped_ptr<char[][kArraySize2]> array_pointer(new (nothrow)
|
| char[kDynamicArraySize][kArraySize2]);
|
|
|