mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
do not sign extend characters input to isprint. This improves
compatibility with VC++. Patch by Max Burke! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62813 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d94aa403b7
commit
bbfa244b2f
@ -681,7 +681,7 @@ static void printStringChar(raw_ostream &O, char C) {
|
||||
O << "\\\"";
|
||||
} else if (C == '\\') {
|
||||
O << "\\\\";
|
||||
} else if (isprint(C)) {
|
||||
} else if (isprint((unsigned char)C)) {
|
||||
O << C;
|
||||
} else {
|
||||
switch(C) {
|
||||
|
Loading…
Reference in New Issue
Block a user