1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

fix warnings

llvm-svn: 14388
This commit is contained in:
Chris Lattner 2004-06-25 00:11:25 +00:00
parent 854b18fd19
commit 6198a05b01

View File

@ -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...
}
}