1
0
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:
Chris Lattner 2009-07-15 00:36:04 +00:00
parent ec2df6b4f5
commit 32757b2838

View File

@ -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);
}
};