Skip to content

Commit c3e76f8

Browse files
accept another diff
1 parent 8d25d90 commit c3e76f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/__support/integer_to_string.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ template <typename T, typename Fmt = radix::Dec> class IntegerToString {
215215
using UNSIGNED_T = make_integral_or_big_int_unsigned_t<T>;
216216

217217
LIBC_INLINE static char digit_char(uint8_t digit) {
218-
const char result = static_cast<char>(internal::int_to_b36_char(digit));
218+
const int result = internal::int_to_b36_char(digit);
219219
return static_cast<char>(Fmt::IS_UPPERCASE ? internal::toupper(result)
220220
: result);
221221
}

0 commit comments

Comments
 (0)