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 bc3bc9df2f
commit a573b22015
1 changed files with 2 additions and 2 deletions

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