Index: client/crashpad_client_win.cc |
diff --git a/client/crashpad_client_win.cc b/client/crashpad_client_win.cc |
index 3b3eaa6a6051329fe1f428ab135464492569d827..92529ae18989c002ccb9f507294003daf6799509 100644 |
--- a/client/crashpad_client_win.cc |
+++ b/client/crashpad_client_win.cc |
@@ -229,7 +229,7 @@ void CrashpadClient::DumpWithoutCrash(const CONTEXT& context) { |
g_non_crash_exception_information.exception_pointers = |
reinterpret_cast<crashpad::WinVMAddress>(&exception_pointers); |
- bool set_event_result = SetEvent(g_signal_non_crash_dump); |
+ bool set_event_result = !!SetEvent(g_signal_non_crash_dump); |
PLOG_IF(ERROR, !set_event_result) << "SetEvent"; |
DWORD wfso_result = WaitForSingleObject(g_non_crash_dump_done, INFINITE); |