From daf16276b414be575ad1d8334cbcd50a3d610f16 Mon Sep 17 00:00:00 2001 From: "jessicag.feedback" Date: Mon, 7 May 2012 21:31:31 +0000 Subject: Fix warning in r961 - C4800 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@962 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/client/windows/crash_generation/crash_generation_client.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/windows') diff --git a/src/client/windows/crash_generation/crash_generation_client.cc b/src/client/windows/crash_generation/crash_generation_client.cc index 20f7177a..84a686a4 100644 --- a/src/client/windows/crash_generation/crash_generation_client.cc +++ b/src/client/windows/crash_generation/crash_generation_client.cc @@ -178,7 +178,7 @@ bool CrashGenerationClient::RequestUpload(DWORD crash_id) { static_cast(NULL), NULL, NULL, NULL, custom_info, NULL, NULL, NULL); DWORD bytes_count = 0; - bool success = WriteFile(pipe, &msg, sizeof(msg), &bytes_count, NULL); + bool success = WriteFile(pipe, &msg, sizeof(msg), &bytes_count, NULL) != 0; CloseHandle(pipe); return success; -- cgit v1.2.1