[llvm-commits] [llvm] r153395 - /llvm/trunk/lib/Support/Unix/Signals.inc
Jean-Daniel Dupas
devlists at shadowlab.org
Sat Mar 24 15:17:51 PDT 2012
Author: jddupas
Date: Sat Mar 24 17:17:50 2012
New Revision: 153395
URL: http://llvm.org/viewvc/llvm-project?rev=153395&view=rev
Log:
Fix null to integer conversion warnings.
Modified:
llvm/trunk/lib/Support/Unix/Signals.inc
Modified: llvm/trunk/lib/Support/Unix/Signals.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Unix/Signals.inc?rev=153395&r1=153394&r2=153395&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Unix/Signals.inc (original)
+++ llvm/trunk/lib/Support/Unix/Signals.inc Sat Mar 24 17:17:50 2012
@@ -275,9 +275,9 @@
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
More information about the llvm-commits
mailing list