Skip to content

Commit

Permalink
Merge pull request google#2245 from daquexian:fix_wsign_conversion
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 246550729
  • Loading branch information
gennadiycivil committed May 3, 2019
2 parents 63be3dc + ca642a9 commit bf3ef5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion googletest/src/gtest-printers.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 << ")";
}
Expand Down

0 comments on commit bf3ef5c

Please sign in to comment.