diff options
-rw-r--r-- | lib/Target/CBackend/CBackend.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp index f3de190..456bda3 100644 --- a/lib/Target/CBackend/CBackend.cpp +++ b/lib/Target/CBackend/CBackend.cpp @@ -773,9 +773,9 @@ void CWriter::printConstantArray(ConstantArray *CPA, bool Static) { if (isprint(C) && (!LastWasHex || !isxdigit(C))) { LastWasHex = false; if (C == '"' || C == '\\') - Out << "\\" << C; + Out << "\\" << (char)C; else - Out << C; + Out << (char)C; } else { LastWasHex = false; switch (C) { |