about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--013literal_string.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/013literal_string.cc b/013literal_string.cc
index ffd879a2..92db8f87 100644
--- a/013literal_string.cc
+++ b/013literal_string.cc
@@ -39,7 +39,7 @@ string slurp_quoted(istream& in) {
     char c = in.get();
 //?     cout << (int)c << ": " << brace_depth << '\n'; //? 2
     if (c == '\\') {
-      out << (char)in.get();
+      out << static_cast<char>(in.get());
       continue;
     }
     out << c;