From bb067bf185feec9b5c5f4e88c92a15b91ee2563e Mon Sep 17 00:00:00 2001 From: nealsid Date: Fri, 10 Oct 2008 17:51:32 +0000 Subject: Fix warning when converting int to bool git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@288 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/client/windows/crash_generation/minidump_generator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/windows/crash_generation/minidump_generator.cc b/src/client/windows/crash_generation/minidump_generator.cc index cb5e52a2..c03b191a 100644 --- a/src/client/windows/crash_generation/minidump_generator.cc +++ b/src/client/windows/crash_generation/minidump_generator.cc @@ -81,7 +81,7 @@ bool MinidumpGenerator::WriteMinidump(HANDLE process_handle, // If the client requests a full memory dump, we will write a normal mini // dump and a full memory dump. Both dump files use the same uuid as file // name prefix. - bool full_memory_dump = dump_type & MiniDumpWithFullMemory; + bool full_memory_dump = (dump_type & MiniDumpWithFullMemory) != 0; wstring full_dump_file_path; if (full_memory_dump) { full_dump_file_path.assign(dump_file_path); -- cgit v1.2.1