mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-06 03:18:14 +00:00
Merge pull request #5119 from jan-beukes/master
Fix SDL3 compilation error with gcc
This commit is contained in:
@@ -1621,7 +1621,7 @@ void PollInputEvents(void)
|
|||||||
{
|
{
|
||||||
// Add character (codepoint) to the queue
|
// Add character (codepoint) to the queue
|
||||||
#if defined(PLATFORM_DESKTOP_SDL3)
|
#if defined(PLATFORM_DESKTOP_SDL3)
|
||||||
unsigned int textLen = strlen(event.text.text);
|
size_t textLen = strlen(event.text.text);
|
||||||
unsigned int codepoint = (unsigned int)SDL_StepUTF8(&event.text.text, &textLen);
|
unsigned int codepoint = (unsigned int)SDL_StepUTF8(&event.text.text, &textLen);
|
||||||
#else
|
#else
|
||||||
int codepointSize = 0;
|
int codepointSize = 0;
|
||||||
|
Reference in New Issue
Block a user