Fix null to integer conversion warnings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153395 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jean-Daniel Dupas 2012-03-24 22:17:50 +00:00
parent b8095464d6
commit 300361a717

View File

@ -275,9 +275,9 @@ void llvm::sys::PrintStackTraceOnErrorSignal() {
kern_return_t ret = task_set_exception_ports(self, kern_return_t ret = task_set_exception_ports(self,
mask, mask,
NULL, MACH_PORT_NULL,
EXCEPTION_STATE_IDENTITY | MACH_EXCEPTION_CODES, EXCEPTION_STATE_IDENTITY | MACH_EXCEPTION_CODES,
NULL); THREAD_STATE_NONE);
(void)ret; (void)ret;
} }
#endif #endif