Reviewers: Rico,

Description:
Fix X64 compilation on Windows.

Please review this at http://codereview.chromium.org/6334086/

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     test/cctest/test-bignum-dtoa.cc


Index: test/cctest/test-bignum-dtoa.cc
===================================================================
--- test/cctest/test-bignum-dtoa.cc     (revision 6610)
+++ test/cctest/test-bignum-dtoa.cc     (working copy)
@@ -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 @@
 // Removes trailing '0' digits.
 // Can return the empty string if all digits are 0.
 static void TrimRepresentation(Vector<char> representation) {
-  int len = strlen(representation.start());
+  int len = static_cast<int>(strlen(representation.start()));
   int i;
   for (i = len - 1; i >= 0; --i) {
     if (representation[i] != '0') break;


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to