Fix warning when converting int to bool

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@288 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
nealsid 2008-10-10 17:51:32 +00:00
parent 596e476fc2
commit bb067bf185

View file

@ -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);