summaryrefslogtreecommitdiff
path: root/libc/src/stdio/printf_core/char_converter.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/stdio/printf_core/char_converter.h')
-rw-r--r--libc/src/stdio/printf_core/char_converter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/src/stdio/printf_core/char_converter.h b/libc/src/stdio/printf_core/char_converter.h
index 93d2111548fa..23a85eb57288 100644
--- a/libc/src/stdio/printf_core/char_converter.h
+++ b/libc/src/stdio/printf_core/char_converter.h
@@ -19,7 +19,7 @@ namespace __llvm_libc {
namespace printf_core {
LIBC_INLINE int convert_char(Writer *writer, const FormatSection &to_conv) {
- char c = static_cast<uint8_t>(to_conv.conv_val_raw);
+ char c = to_conv.conv_val_raw;
constexpr int string_len = 1;