Index: src/string-stream.cc |
diff --git a/src/string-stream.cc b/src/string-stream.cc |
index 7d89bcf15f4c2b9aa743c0c7ab8f0febc31137ad..fc07d94ded237ee4ca79ebde48fe036680de6910 100644 |
--- a/src/string-stream.cc |
+++ b/src/string-stream.cc |
@@ -318,7 +318,7 @@ bool StringStream::Put(String* str, int start, int end) { |
if (c >= 127 || c < 32) { |
c = '?'; |
} |
- if (!Put(c)) { |
+ if (!Put(static_cast<char>(c))) { |
return false; // Output was truncated. |
} |
} |