mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-29 13:24:25 +00:00
Silence a warning on targets with unsigned chars.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@87002 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -247,7 +247,7 @@ private:
|
|||||||
/// almost never 2, and inconceivably 3 or more.
|
/// almost never 2, and inconceivably 3 or more.
|
||||||
void AdjustBlockAddressRefCount(int Amt) {
|
void AdjustBlockAddressRefCount(int Amt) {
|
||||||
SubclassData += Amt;
|
SubclassData += Amt;
|
||||||
assert((int)(char)SubclassData >= 0 && "Refcount wrap-around");
|
assert((int)(signed char)SubclassData >= 0 && "Refcount wrap-around");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user