mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-04 19:27:41 +00:00
remove toascii (#7234)
This commit is contained in:
parent
eee44bbb26
commit
ab4bf59e8c
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ static std::string ToValueString(const BinaryRegion ®ion,
|
|||
// Interpet each value as a ASCII to aid debugging
|
||||
for (uint64_t i = 0; i < region.array_length; ++i) {
|
||||
const uint8_t c = *(binary + region.offset + i);
|
||||
s += isprint(c) ? toascii(c) : '.';
|
||||
s += isprint(c) ? static_cast<char>(c & 0x7F) : '.';
|
||||
}
|
||||
return s;
|
||||
} else if (region.type == BinaryRegionType::Char) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue