summaryrefslogtreecommitdiff
path: root/src/stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream.h')
-rw-r--r--src/stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stream.h b/src/stream.h
index 87cae087..aab7be57 100644
--- a/src/stream.h
+++ b/src/stream.h
@@ -106,7 +106,7 @@ class Stream {
void WriteChar(char c,
const char* desc = nullptr,
PrintChars print_chars = PrintChars::No) {
- WriteU8(c, desc, print_chars);
+ WriteU8(static_cast<unsigned char>(c), desc, print_chars);
}
// Dump memory as text, similar to the xxd format.