diff options
author | nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2008-10-10 17:51:32 +0000 |
---|---|---|
committer | nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2008-10-10 17:51:32 +0000 |
commit | bb067bf185feec9b5c5f4e88c92a15b91ee2563e (patch) | |
tree | 10114f6bf57d9f8aca78b08e6dc258915ccbe7ad /src/client | |
parent | fix a typo in the makefile, HANDLER_SRC->HANDLER_OBJ (diff) | |
download | breakpad-bb067bf185feec9b5c5f4e88c92a15b91ee2563e.tar.xz |
Fix warning when converting int to bool
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@288 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/windows/crash_generation/minidump_generator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); |