diff options
author | mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2012-03-30 20:36:32 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2012-03-30 20:36:32 +0000 |
commit | f6147a6460a1c4a1bb429590f4fdd3b9aea9df1b (patch) | |
tree | 8c4587ffbbc064c84d63b168d28f61ee7a29d47b | |
parent | Fix -Wnull-conversion warnings in breakpad. (diff) | |
download | breakpad-f6147a6460a1c4a1bb429590f4fdd3b9aea9df1b.tar.xz |
Fix one more -Wnull-conversion warning.
Patch by Nico Weber <thakis@chromium.org>
Review URL: https://breakpad.appspot.com/370001/
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@939 4c0a9323-5329-0410-9bdc-e9ce6186880e
-rw-r--r-- | src/client/mac/handler/exception_handler.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/mac/handler/exception_handler.cc b/src/client/mac/handler/exception_handler.cc index b09633f9..af319f6c 100644 --- a/src/client/mac/handler/exception_handler.cc +++ b/src/client/mac/handler/exception_handler.cc @@ -364,7 +364,8 @@ bool ExceptionHandler::WriteMinidumpWithException(int exception_type, // destructor is executed, closing the newly created minidump file. if (!dump_path_.empty()) { MinidumpGenerator md(mach_task_self(), - report_current_thread ? NULL : mach_thread_self()); + report_current_thread ? MACH_PORT_NULL : + mach_thread_self()); if (exception_type && exception_code) { // If this is a real exception, give the filter (if any) a chance to // decide if this should be sent. |