Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Issue 3384019: Fix Win64 build with VS2008. (Closed)

Created:
10 years, 3 months ago by antonm
Modified:
9 years, 4 months ago
Reviewers:
Lasse Reichstein
CC:
v8-dev
Visibility:
Public.

Description

Fix Win64 build with VS2008. strlen returns size_t and VS2008 is now pretty picky about that. Committed: http://code.google.com/p/v8/source/detail?r=5506

Patch Set 1 #

Total comments: 1

Patch Set 2 : Moving to StrLength instead of static_cast #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M test/cctest/test-parsing.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
antonm
Lasse, may have a look?
10 years, 3 months ago (2010-09-22 12:40:01 UTC) #1
Lasse Reichstein
10 years, 3 months ago (2010-09-22 12:56:53 UTC) #2
LGTM

http://codereview.chromium.org/3384019/diff/1/2
File test/cctest/test-parsing.cc (right):

http://codereview.chromium.org/3384019/diff/1/2#newcode159
test/cctest/test-parsing.cc:159: tests[i], static_cast<int>(strlen(tests[i])));
Could we use StrLength instead (which returns int)? (everywhere).

Powered by Google App Engine
This is Rietveld 408576698