mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
Fix build warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80912 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3985943871
commit
f0d568d38b
@ -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