[ox/std] Remove implicit type conversion from ox_itoa

This commit is contained in:
Gary Talent 2021-02-22 22:23:10 -06:00
parent 4e70b459f6
commit 9a92dadff7

View File

@ -157,7 +157,7 @@ constexpr T ox_itoa(Integer v, T str) noexcept {
start = 'a'; start = 'a';
digit -= 10; digit -= 10;
} }
str[it] = start + digit; str[it] = static_cast<typename ox::remove_reference<decltype(str[0])>::type>(start + digit);
it++; it++;
} }
} }