Merge pull request #2245 from daquexian:fix_wsign_conversion
PiperOrigin-RevId: 246550729
This commit is contained in:
commit
bf3ef5c9b7
@ -237,7 +237,7 @@ void PrintCharAndCodeTo(Char c, ostream* os) {
|
||||
if (format == kHexEscape || (1 <= c && c <= 9)) {
|
||||
// Do nothing.
|
||||
} else {
|
||||
*os << ", 0x" << String::FormatHexInt(static_cast<UnsignedChar>(c));
|
||||
*os << ", 0x" << String::FormatHexInt(static_cast<int>(c));
|
||||
}
|
||||
*os << ")";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user