llvm.org GIT mirror llvm / 97d3726
Cygwin defines uint32_t as unsigned long. Unbreak call to std::min in this case git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45342 91177308-0d34-0410-b5e6-96231b3b80d8 Anton Korobeynikov 12 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
790790
791791 uint32_t APInt::countTrailingZeros() const {
792792 if (isSingleWord())
793 return std::min(CountTrailingZeros_64(VAL), BitWidth);
793 return std::min(uint32_t(CountTrailingZeros_64(VAL)), BitWidth);
794794 uint32_t Count = 0;
795795 uint32_t i = 0;
796796 for (; i < getNumWords() && pVal[i] == 0; ++i)