forked from Green-Sky/tomato
sdl (master post 3.1 preview) Merge commit 'e4f454091a943345938608570b104400f62fd625'
This commit is contained in:
4
external/sdl/SDL/test/testerror.c
vendored
4
external/sdl/SDL/test/testerror.c
vendored
@@ -35,8 +35,8 @@ static int SDLCALL
|
||||
ThreadFunc(void *data)
|
||||
{
|
||||
/* Set the child thread error string */
|
||||
SDL_SetError("Thread %s (%lu) had a problem: %s",
|
||||
(char *)data, SDL_ThreadID(), "nevermind");
|
||||
SDL_SetError("Thread %s (%" SDL_PRIu64 ") had a problem: %s",
|
||||
(char *)data, SDL_GetCurrentThreadID(), "nevermind");
|
||||
while (alive) {
|
||||
SDL_Log("Thread '%s' is alive!\n", (char *)data);
|
||||
SDL_Delay(1 * 1000);
|
||||
|
||||
Reference in New Issue
Block a user