Commit 7f0f84c0 authored by bmeurer@chromium.org's avatar bmeurer@chromium.org

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
parent 527152aa
...@@ -448,7 +448,7 @@ static const int kShortStrtodRandomCount = 2; ...@@ -448,7 +448,7 @@ static const int kShortStrtodRandomCount = 2;
static const int kLargeStrtodRandomCount = 2; static const int kLargeStrtodRandomCount = 2;
TEST(RandomStrtod) { TEST(RandomStrtod) {
srand(time(NULL)); srand(static_cast<unsigned int>(time(NULL)));
char buffer[kBufferSize]; char buffer[kBufferSize];
for (int length = 1; length < 15; length++) { for (int length = 1; length < 15; length++) {
for (int i = 0; i < kShortStrtodRandomCount; ++i) { for (int i = 0; i < kShortStrtodRandomCount; ++i) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment