fix(gx): change charactersize to int32

This commit is contained in:
superp00t committed 2023-11-26 12:43:31 -05:00
1 parent 2dd65b2b5d
commit dbac391d9e
1 file changed
+1 -1
+1 -1
View File
@@ -347,7 +347,7 @@ void GLSDLWindow::DispatchSDLTextInputEvent(const SDL_Event& event) {
// individual OS_INPUT_CHAR events
while (*text != '\0') {
// byte size of current UTF-8 character
uint32_t charactersize = 0;
int32_t charactersize = 0;
// Read UTF-8 character
auto character = static_cast<int32_t>(SUniSGetUTF8(text, &charactersize));