Skip to content
Snippets Groups Projects
Commit bf3ef5c9 authored by gennadiycivil's avatar gennadiycivil
Browse files

Merge pull request #2245 from daquexian:fix_wsign_conversion

PiperOrigin-RevId: 246550729
parents 63be3dcc ca642a92
No related branches found
No related tags found
No related merge requests found
......@@ -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 << ")";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment