mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-16 02:57:52 +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:
parent
80697d1b26
commit
7f82fdb9bc
@ -247,7 +247,7 @@ private:
|
||||
/// almost never 2, and inconceivably 3 or more.
|
||||
void AdjustBlockAddressRefCount(int Amt) {
|
||||
SubclassData += Amt;
|
||||
assert((int)(char)SubclassData >= 0 && "Refcount wrap-around");
|
||||
assert((int)(signed char)SubclassData >= 0 && "Refcount wrap-around");
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user