mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-12-23 12:05:36 +00:00
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:
parent
596e476fc2
commit
bb067bf185
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue