mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-18 14:31:27 +00:00
Fix a fixme, patch by Ryan Flynn!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75716 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f975e011fb
commit
cd2b4c1846
@ -93,12 +93,11 @@ public:
|
||||
}
|
||||
|
||||
SmallString &append_sint(int64_t N) {
|
||||
// TODO, wrong for minint64.
|
||||
if (N < 0) {
|
||||
this->push_back('-');
|
||||
N = -N;
|
||||
}
|
||||
return append_uint(N);
|
||||
return append_uint((uint64_t)N);
|
||||
}
|
||||
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user