Skip to content

Commit b1f6ab3

Browse files
authored
Merge pull request #5119 from jan-beukes/master
Fix SDL3 compilation error with gcc
2 parents 595befe + 8772b02 commit b1f6ab3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/platforms/rcore_desktop_sdl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1621,7 +1621,7 @@ void PollInputEvents(void)
16211621
{
16221622
// Add character (codepoint) to the queue
16231623
#if defined(PLATFORM_DESKTOP_SDL3)
1624-
unsigned int textLen = strlen(event.text.text);
1624+
size_t textLen = strlen(event.text.text);
16251625
unsigned int codepoint = (unsigned int)SDL_StepUTF8(&event.text.text, &textLen);
16261626
#else
16271627
int codepointSize = 0;

0 commit comments

Comments
 (0)