From 0b64ca3cbde361729f357dfc230a1d9dce1717dc Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Thu, 30 Oct 2003 15:03:49 +0000 Subject: [PATCH] Apparently my Mac OS X fixes were not entirely compatible with SPARC...hmm. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9612 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/Support/StringExtras.h | 2 +- include/llvm/ADT/StringExtras.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/Support/StringExtras.h b/include/Support/StringExtras.h index b0f5c51ed0b..2c50c1cd5be 100644 --- a/include/Support/StringExtras.h +++ b/include/Support/StringExtras.h @@ -36,7 +36,7 @@ static inline std::string utohexstr(uint64_t X) { return std::string(BufPtr); } -static inline std::string utostr(uint64_t X, bool isNeg = false) { +static inline std::string utostr(unsigned long long X, bool isNeg = false) { char Buffer[40]; char *BufPtr = Buffer+39; diff --git a/include/llvm/ADT/StringExtras.h b/include/llvm/ADT/StringExtras.h index b0f5c51ed0b..2c50c1cd5be 100644 --- a/include/llvm/ADT/StringExtras.h +++ b/include/llvm/ADT/StringExtras.h @@ -36,7 +36,7 @@ static inline std::string utohexstr(uint64_t X) { return std::string(BufPtr); } -static inline std::string utostr(uint64_t X, bool isNeg = false) { +static inline std::string utostr(unsigned long long X, bool isNeg = false) { char Buffer[40]; char *BufPtr = Buffer+39;