Work around PR1000.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58984 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands 2008-11-10 10:05:09 +00:00
parent 569c45cab2
commit c04b6917c1

View File

@ -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) {