Index: util/win/critical_section_with_debug_info.cc |
diff --git a/util/win/critical_section_with_debug_info.cc b/util/win/critical_section_with_debug_info.cc |
index dc1a2dbaa235e08a2bf005571d626e4641d48fb0..1613a51236e24351ed510f10f919e434e61f4825 100644 |
--- a/util/win/critical_section_with_debug_info.cc |
+++ b/util/win/critical_section_with_debug_info.cc |
@@ -21,13 +21,13 @@ namespace crashpad { |
namespace { |
-BOOL CrashpadInitializeCriticalSectionEx( |
+bool CrashpadInitializeCriticalSectionEx( |
CRITICAL_SECTION* critical_section, |
DWORD spin_count, |
DWORD flags) { |
static const auto initialize_critical_section_ex = |
GET_FUNCTION_REQUIRED(L"kernel32.dll", ::InitializeCriticalSectionEx); |
- bool ret = |
+ BOOL ret = |
initialize_critical_section_ex(critical_section, spin_count, flags); |
if (!ret) { |
PLOG(ERROR) << "InitializeCriticalSectionEx"; |