Reviewers: Michael Starzinger,

Message:
Committed patchset #1 manually as r16614.

Description:
Fix MSVC compiler warning after commit r16612.

TBR=mstarzin...@chromium.org

Committed: https://code.google.com/p/v8/source/detail?r=16614

Please review this at https://codereview.chromium.org/23534052/

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

Affected files (+1, -1 lines):
  M test/cctest/test-strtod.cc


Index: test/cctest/test-strtod.cc
diff --git a/test/cctest/test-strtod.cc b/test/cctest/test-strtod.cc
index e7d85766ea9c327fa1bf5290d87c99dcf0d21cc1..237d35db12d4d05db63ca27d45decc46ccb4c9f9 100644
--- a/test/cctest/test-strtod.cc
+++ b/test/cctest/test-strtod.cc
@@ -448,7 +448,7 @@ static const int kShortStrtodRandomCount = 2;
 static const int kLargeStrtodRandomCount = 2;

 TEST(RandomStrtod) {
-  srand(time(NULL));
+  srand(static_cast<unsigned int>(time(NULL)));
   char buffer[kBufferSize];
   for (int length = 1; length < 15; length++) {
     for (int i = 0; i < kShortStrtodRandomCount; ++i) {


--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to