projects
/
platform
/
upstream
/
v8.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f86e34
)
Fix windows build (static_cast missing).
author
yangguo@chromium.org
<yangguo@chromium.org>
Wed, 12 Nov 2014 08:15:30 +0000
(08:15 +0000)
committer
yangguo@chromium.org
<yangguo@chromium.org>
Wed, 12 Nov 2014 08:15:45 +0000
(08:15 +0000)
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
src/string-builder.h
patch
|
blob
|
history
diff --git
a/src/string-builder.h
b/src/string-builder.h
index f64f679870daa00def5f22bb2306764b72a9bafd..43b690dba38228d73a7b79c21465e8644f8b031d 100644
(file)
--- 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_;