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 d1c4705577
commit c1bc3701b6
1 changed files with 1 additions and 2 deletions

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