mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
Fix break by qualifying ptrdiff_t with std::.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203084 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f4ccd11075
commit
acc8fb158e
@ -48,10 +48,10 @@ private:
|
||||
// These are implemented as inline functions here to avoid multiple virtual
|
||||
// calls per public function
|
||||
bool validAddress(uint64_t address) const {
|
||||
return static_cast<ptrdiff_t>(address) < LastChar - FirstChar;
|
||||
return static_cast<std::ptrdiff_t>(address) < LastChar - FirstChar;
|
||||
}
|
||||
bool objectEnd(uint64_t address) const {
|
||||
return static_cast<ptrdiff_t>(address) == LastChar - FirstChar;
|
||||
return static_cast<std::ptrdiff_t>(address) == LastChar - FirstChar;
|
||||
}
|
||||
|
||||
RawMemoryObject(const RawMemoryObject&) LLVM_DELETED_FUNCTION;
|
||||
|
Loading…
x
Reference in New Issue
Block a user