[ox/std] Remove implicit type conversion from ox_itoa
This commit is contained in:
parent
4e70b459f6
commit
9a92dadff7
2
deps/ox/src/ox/std/strops.hpp
vendored
2
deps/ox/src/ox/std/strops.hpp
vendored
@ -157,7 +157,7 @@ constexpr T ox_itoa(Integer v, T str) noexcept {
|
||||
start = 'a';
|
||||
digit -= 10;
|
||||
}
|
||||
str[it] = start + digit;
|
||||
str[it] = static_cast<typename ox::remove_reference<decltype(str[0])>::type>(start + digit);
|
||||
it++;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user