Correct NetBSD build issue
authorKamil Rytarowski <n54@gmx.com>
Sat, 11 Nov 2017 09:29:21 +0000 (09:29 +0000)
committerKamil Rytarowski <n54@gmx.com>
Sat, 11 Nov 2017 09:29:21 +0000 (09:29 +0000)
commit32ee3342d95fd73e725a322a0bf9e105d2176883
treef6cb38fedc35fcf6ae2041cf4020e3098c051075
parent0ccec70ff59752c03f6a640fb07d9c0b6eba951e
Correct NetBSD build issue

Cast SIG_IGN to (uptr).

SIG_IGN is defined on NetBSD as a function pointer and cannot be
assigned to an integer as it is.

sys/signal.h:#define       SIG_IGN         ((void (*)(int))  1)

llvm-svn: 317978
compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cc