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
This commit is contained in:
bmeurer@chromium.org 2013-09-10 11:33:14 +00:00
parent 527152aa5c
commit 7f0f84c0a5

View File

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