From 818a2a6b7e39ca528f489456ffab746369c3b3a9 Mon Sep 17 00:00:00 2001 From: Jean-Daniel Dupas Date: Sat, 24 Mar 2012 22:17:50 +0000 Subject: [PATCH] Fix null to integer conversion warnings. llvm-svn: 153395 --- lib/Support/Unix/Signals.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Support/Unix/Signals.inc b/lib/Support/Unix/Signals.inc index 75b91eaf1f8..c9ec9fce9aa 100644 --- a/lib/Support/Unix/Signals.inc +++ b/lib/Support/Unix/Signals.inc @@ -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