From: Duncan Sands Date: Mon, 10 Nov 2008 10:05:09 +0000 (+0000) Subject: Work around PR1000. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c04b6917c184ca9d6c7bc0c749a734f89cebcd35;p=oota-llvm.git Work around PR1000. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58984 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ADT/StringExtras.h b/include/llvm/ADT/StringExtras.h index e6f027c31b4..e5a3d023466 100644 --- a/include/llvm/ADT/StringExtras.h +++ b/include/llvm/ADT/StringExtras.h @@ -56,7 +56,7 @@ static inline char *utohex_buffer(IntTy X, char *BufferEnd) { static inline std::string utohexstr(uint64_t X) { char Buffer[40]; - return utohex_buffer(X, Buffer); + return utohex_buffer(X, Buffer+40); } static inline std::string utostr_32(uint32_t X, bool isNeg = false) {