]> granicus.if.org Git - clang/commit
cc1_main: fix -Wsign-compare on FreeBSD
authorFangrui Song <maskray@google.com>
Wed, 25 Jul 2018 06:57:31 +0000 (06:57 +0000)
committerFangrui Song <maskray@google.com>
Wed, 25 Jul 2018 06:57:31 +0000 (06:57 +0000)
commit1231be927ba509ec8e1a31f9322529748daebf94
tree394053e95edb2e6b3dc890392b1223f3c63dce0d
parent1df8e57db9c247fc74542ce89cf0e90ec1d0881f
cc1_main: fix -Wsign-compare on FreeBSD

Its __rlim_t is intentionally signed (__int64_t) because of legacy code
that uses -1 for RLIM_INFINITY.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@337892 91177308-0d34-0410-b5e6-96231b3b80d8
tools/driver/cc1_main.cpp