Work around PR1000.

llvm-svn: 58984
This commit is contained in:
Duncan Sands 2008-11-10 10:05:09 +00:00
parent 7be05ed6b8
commit 0a758fae91
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ static inline char *utohex_buffer(IntTy X, char *BufferEnd) {
static inline std::string utohexstr(uint64_t X) { static inline std::string utohexstr(uint64_t X) {
char Buffer[40]; 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) { static inline std::string utostr_32(uint32_t X, bool isNeg = false) {