mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-24 21:14:56 +00:00
fix warnings
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14388 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
75afe1f904
commit
32b588039e
@ -62,7 +62,7 @@ static inline void output_vbr(uint64_t i, std::deque<unsigned char> &out) {
|
||||
|
||||
// Nope, we are bigger than a character, output the next 7 bits and set the
|
||||
// high bit to say that there is more coming...
|
||||
out.push_back(0x80 | (i & 0x7F));
|
||||
out.push_back(0x80 | ((unsigned char)i & 0x7F));
|
||||
i >>= 7; // Shift out 7 bits now...
|
||||
}
|
||||
}
|
||||
@ -76,7 +76,7 @@ static inline void output_vbr(unsigned i, std::deque<unsigned char> &out) {
|
||||
|
||||
// Nope, we are bigger than a character, output the next 7 bits and set the
|
||||
// high bit to say that there is more coming...
|
||||
out.push_back(0x80 | (i & 0x7F));
|
||||
out.push_back(0x80 | ((unsigned char)i & 0x7F));
|
||||
i >>= 7; // Shift out 7 bits now...
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user