mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-24 12:36:30 +00:00
Fix build warning.
llvm-svn: 80912
This commit is contained in:
parent
c389a5dd4a
commit
9fd76dee00
@ -32,7 +32,7 @@ static inline unsigned ByteSwap(unsigned Var, bool Really) {
|
||||
((Var & (255<<24)) >> 24);
|
||||
}
|
||||
|
||||
static const unsigned AddCounts(unsigned A, unsigned B) {
|
||||
static unsigned AddCounts(unsigned A, unsigned B) {
|
||||
// If either value is undefined, use the other.
|
||||
if (A == ~0U) return B;
|
||||
if (B == ~0U) return A;
|
||||
|
Loading…
Reference in New Issue
Block a user