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:
parent
527152aa5c
commit
7f0f84c0a5
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user