From f31151e295b7099962bf5083646670fa7fc3fa24 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Mon, 22 Feb 2021 22:23:10 -0600 Subject: [PATCH] [ox/std] Remove implicit type conversion from ox_itoa (synced from 9a92dadff794107bf3386b2b533f37c7ff5e4c26) --- src/ox/std/strops.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ox/std/strops.hpp b/src/ox/std/strops.hpp index 39213831d..d25346388 100644 --- a/src/ox/std/strops.hpp +++ b/src/ox/std/strops.hpp @@ -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::type>(start + digit); it++; } }