forked from OSchip/llvm-project
parent
ee61054d00
commit
08623f21ae
|
@ -56,7 +56,7 @@ public:
|
||||||
|
|
||||||
SmallString &append_uint_32(uint32_t N) {
|
SmallString &append_uint_32(uint32_t N) {
|
||||||
char Buffer[20];
|
char Buffer[20];
|
||||||
char *BufPtr = Buffer+19;
|
char *BufPtr = Buffer+20;
|
||||||
|
|
||||||
if (N == 0) *--BufPtr = '0'; // Handle special case.
|
if (N == 0) *--BufPtr = '0'; // Handle special case.
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ public:
|
||||||
return append_uint_32(uint32_t(N));
|
return append_uint_32(uint32_t(N));
|
||||||
|
|
||||||
char Buffer[40];
|
char Buffer[40];
|
||||||
char *BufPtr = Buffer+39;
|
char *BufPtr = Buffer+40;
|
||||||
|
|
||||||
if (N == 0) *--BufPtr = '0'; // Handle special case...
|
if (N == 0) *--BufPtr = '0'; // Handle special case...
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue