From 7f0f84c0a57fa4bec3bef92bf13ae7f8588e37a4 Mon Sep 17 00:00:00 2001 From: "bmeurer@chromium.org" Date: Tue, 10 Sep 2013 11:33:14 +0000 Subject: [PATCH] Fix MSVC compiler warning after commit r16612. TBR=mstarzinger@chromium.org Review URL: https://codereview.chromium.org/23534052 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16614 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- test/cctest/test-strtod.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cctest/test-strtod.cc b/test/cctest/test-strtod.cc index e7d85766ea..237d35db12 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(time(NULL))); char buffer[kBufferSize]; for (int length = 1; length < 15; length++) { for (int i = 0; i < kShortStrtodRandomCount; ++i) {