diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-15 00:36:04 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-15 00:36:04 +0000 |
commit | cd2b4c1846413c7e4f46e8a08b1aa94212089053 (patch) | |
tree | 9e8a127a5380cbc373a05fd325521f66dfacb068 | |
parent | f975e011fb7dd9f1def2c01dda350c19ef09e042 (diff) | |
download | external_llvm-cd2b4c1846413c7e4f46e8a08b1aa94212089053.zip external_llvm-cd2b4c1846413c7e4f46e8a08b1aa94212089053.tar.gz external_llvm-cd2b4c1846413c7e4f46e8a08b1aa94212089053.tar.bz2 |
Fix a fixme, patch by Ryan Flynn!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75716 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/ADT/SmallString.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/ADT/SmallString.h b/include/llvm/ADT/SmallString.h index 687fa2d..bbc3c05 100644 --- a/include/llvm/ADT/SmallString.h +++ b/include/llvm/ADT/SmallString.h @@ -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); } }; |