From f6147a6460a1c4a1bb429590f4fdd3b9aea9df1b Mon Sep 17 00:00:00 2001 From: "mark@chromium.org" Date: Fri, 30 Mar 2012 20:36:32 +0000 Subject: Fix one more -Wnull-conversion warning. Patch by Nico Weber Review URL: https://breakpad.appspot.com/370001/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@939 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/client/mac/handler/exception_handler.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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. -- cgit v1.2.1