Fix X64 Windows compilation.
Review URL: http://codereview.chromium.org/6312120 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6621 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
015e72bbf5
commit
1853458a39
@ -19,7 +19,7 @@ static const int kBufferSize = 100;
|
|||||||
|
|
||||||
// Removes trailing '0' digits.
|
// Removes trailing '0' digits.
|
||||||
static void TrimRepresentation(Vector<char> representation) {
|
static void TrimRepresentation(Vector<char> representation) {
|
||||||
int len = strlen(representation.start());
|
int len = StrLength(representation.start());
|
||||||
int i;
|
int i;
|
||||||
for (i = len - 1; i >= 0; --i) {
|
for (i = len - 1; i >= 0; --i) {
|
||||||
if (representation[i] != '0') break;
|
if (representation[i] != '0') break;
|
||||||
|
Loading…
Reference in New Issue
Block a user