[llvm-commits] [patch] silence a warning in Signal.inc

Jean-Daniel Dupas devlists at shadowlab.org
Sat Mar 24 09:08:45 PDT 2012


When building llvm with clang, it emits 2 warnings about implicit conversion of NULL to integer.
This patch solves this issue by using the proper constants (MACH_PORT_NULL and THREAD_STATE_NONE) instead of NULL.

-- Jean-Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signal.patch
Type: application/octet-stream
Size: 596 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120324/3035e559/attachment.obj>

More information about the llvm-commits mailing list