From fe67b206ca60e7cfaa1d86e6b10d95824ea05c28 Mon Sep 17 00:00:00 2001 From: "whesse@chromium.org" Date: Thu, 3 Feb 2011 11:13:04 +0000 Subject: [PATCH] Fix X64 compilation on Windows. Review URL: http://codereview.chromium.org/6334086 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6613 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- test/cctest/test-bignum-dtoa.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cctest/test-bignum-dtoa.cc b/test/cctest/test-bignum-dtoa.cc index 51a9057..a696ed8 100644 --- a/test/cctest/test-bignum-dtoa.cc +++ b/test/cctest/test-bignum-dtoa.cc @@ -1,4 +1,4 @@ -// Copyright 2010 the V8 project authors. All rights reserved. +// Copyright 2011 the V8 project authors. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: @@ -44,7 +44,7 @@ using namespace v8::internal; // Removes trailing '0' digits. // Can return the empty string if all digits are 0. static void TrimRepresentation(Vector representation) { - int len = strlen(representation.start()); + int len = StrLength(representation.start()); int i; for (i = len - 1; i >= 0; --i) { if (representation[i] != '0') break; -- 2.7.4