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) { |