Fix null to integer conversion warnings.

llvm-svn: 153395
This commit is contained in:
Jean-Daniel Dupas 2012-03-24 22:17:50 +00:00
parent c626d97320
commit 818a2a6b7e

View File

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