mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Fix a fixme, patch by Ryan Flynn!
llvm-svn: 75716
This commit is contained in:
parent
ec2df6b4f5
commit
32757b2838
@ -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…
Reference in New Issue
Block a user