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

Unified Diff: src/string-builder.h

Issue 714413005: Fix windows build (static_cast missing). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/string-builder.h
diff --git a/src/string-builder.h b/src/string-builder.h
index f64f679870daa00def5f22bb2306764b72a9bafd..43b690dba38228d73a7b79c21465e8644f8b031d 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<int>(cursor_ - start_); }
private:
DestChar* start_;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698