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_; |