[llvm-commits] [llvm] r58984 - /llvm/trunk/include/llvm/ADT/StringExtras.h
Duncan Sands
baldrick at free.fr
Mon Nov 10 02:05:09 PST 2008
Author: baldrick
Date: Mon Nov 10 04:05:09 2008
New Revision: 58984
URL: http://llvm.org/viewvc/llvm-project?rev=58984&view=rev
Log:
Work around PR1000.
Modified:
llvm/trunk/include/llvm/ADT/StringExtras.h
Modified: llvm/trunk/include/llvm/ADT/StringExtras.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/StringExtras.h?rev=58984&r1=58983&r2=58984&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/StringExtras.h (original)
+++ llvm/trunk/include/llvm/ADT/StringExtras.h Mon Nov 10 04:05:09 2008
@@ -56,7 +56,7 @@
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) {
More information about the llvm-commits
mailing list