From: Chris Lattner Date: Tue, 7 Sep 2010 19:50:53 +0000 (+0000) Subject: hopefully fix a problem building on cygwin-1.5 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6cd5db41f7ed2446c9db0fd7bba4bb8591fe567e;p=oota-llvm.git hopefully fix a problem building on cygwin-1.5 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113255 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/Disassembler/ARMDisassemblerCore.h b/lib/Target/ARM/Disassembler/ARMDisassemblerCore.h index 62cd5a016e9..9c30d332d1f 100644 --- a/lib/Target/ARM/Disassembler/ARMDisassemblerCore.h +++ b/lib/Target/ARM/Disassembler/ARMDisassemblerCore.h @@ -126,8 +126,8 @@ static inline unsigned slice(uint32_t Bits, unsigned From, unsigned To) { } /// Utility function for setting [From, To] bits to Val for a uint32_t. -static inline void setSlice(uint32_t &Bits, unsigned From, unsigned To, - uint32_t Val) { +static inline void setSlice(unsigned &Bits, unsigned From, unsigned To, + unsigned Val) { assert(From < 32 && To < 32 && From >= To); uint32_t Mask = ((1 << (From - To + 1)) - 1); Bits &= ~(Mask << To);