From: yangguo@chromium.org Date: Wed, 12 Nov 2014 08:15:30 +0000 (+0000) Subject: Fix windows build (static_cast missing). X-Git-Tag: upstream/4.7.83~5762 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dc12fbf0021d871bf213ed0565c9571fd4fbf6b3;p=platform%2Fupstream%2Fv8.git Fix windows build (static_cast missing). TBR=ishell@chromium.org Review URL: https://codereview.chromium.org/714413005 Cr-Commit-Position: refs/heads/master@{#25278} git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25278 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/string-builder.h b/src/string-builder.h index f64f67987..43b690dba 100644 --- a/src/string-builder.h +++ b/src/string-builder.h @@ -325,7 +325,7 @@ class IncrementalStringBuilder { while (*u != '\0') Append(*(u++)); } - int written() { return cursor_ - start_; } + int written() { return static_cast(cursor_ - start_); } private: DestChar* start_;