Index: util/posix/process_util_test.cc |
diff --git a/util/posix/process_util_test.cc b/util/posix/process_util_test.cc |
index 47b0dd5fe29d965d65d704b2dc93e2fbd544395a..41d4a1de32ba1f70fd367027f431e4c182b63f04 100644 |
--- a/util/posix/process_util_test.cc |
+++ b/util/posix/process_util_test.cc |
@@ -20,6 +20,7 @@ |
#include <string> |
#include <vector> |
+#include "base/basictypes.h" |
#include "gtest/gtest.h" |
namespace crashpad { |
@@ -33,7 +34,7 @@ TEST(ProcessUtil, ProcessArgumentsForPID) { |
// gtest argv processing scrambles argv, but it leaves argc and argv[0] |
// intact, so test those. |
- int argc = static_cast<int>(argv.size()); |
+ int argc = implicit_cast<int>(argv.size()); |
int expect_argc = *_NSGetArgc(); |
EXPECT_EQ(expect_argc, argc); |