Index: base/memory/singleton_unittest.cc |
diff --git a/base/memory/singleton_unittest.cc b/base/memory/singleton_unittest.cc |
index 28daf1063c131ca967a91a467b95cc92942f0978..a15145c8747145cb3f6e6774890307cc0fa46794 100644 |
--- a/base/memory/singleton_unittest.cc |
+++ b/base/memory/singleton_unittest.cc |
@@ -2,6 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include <stdint.h> |
+ |
#include "base/at_exit.h" |
#include "base/memory/singleton.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -272,8 +274,8 @@ TEST_F(SingletonTest, Alignment) { |
// Create some static singletons with increasing sizes and alignment |
// requirements. By ordering this way, the linker will need to do some work to |
// ensure proper alignment of the static data. |
- AlignedTestSingleton<int32>* align4 = |
- AlignedTestSingleton<int32>::GetInstance(); |
+ AlignedTestSingleton<int32_t>* align4 = |
+ AlignedTestSingleton<int32_t>::GetInstance(); |
AlignedTestSingleton<AlignedMemory<32, 32> >* align32 = |
AlignedTestSingleton<AlignedMemory<32, 32> >::GetInstance(); |
AlignedTestSingleton<AlignedMemory<128, 128> >* align128 = |