diff --git a/utils/unittest/googletest/src/gtest-printers.cc b/utils/unittest/googletest/src/gtest-printers.cc index 2266415762b..205a39425f0 100644 --- a/utils/unittest/googletest/src/gtest-printers.cc +++ b/utils/unittest/googletest/src/gtest-printers.cc @@ -288,7 +288,7 @@ static void PrintWideCharsAsStringTo(const wchar_t* begin, size_t len, bool is_previous_hex = false; for (size_t index = 0; index < len; ++index) { const wchar_t cur = begin[index]; - if (is_previous_hex && iswascii(cur) && IsXDigit(static_cast(cur))) { + if (is_previous_hex && isascii(cur) && IsXDigit(static_cast(cur))) { // Previous character is of '\x..' form and this character can be // interpreted as another hexadecimal digit in its number. Break string to // disambiguate.