Pārlūkot izejas kodu

Cast to new thread type.

Brucey 10 mēneši atpakaļ
vecāks
revīzija
347575c94e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      sdl.mod/SDL/src/thread/SDL_thread.c

+ 1 - 1
sdl.mod/SDL/src/thread/SDL_thread.c

@@ -291,7 +291,7 @@ void SDL_RunThread(SDL_Thread *thread)
     thread->threadid = SDL_ThreadID();
     thread->threadid = SDL_ThreadID();
 
 
 	/* register with BlitzMax */
 	/* register with BlitzMax */
-	BBThread * bbThread = bbThreadRegister(SDL_ThreadID());
+	BBThread * bbThread = bbThreadRegister((bb_thread_t)SDL_ThreadID());
 
 
     /* Run the function */
     /* Run the function */
     *statusloc = userfunc(userdata);
     *statusloc = userfunc(userdata);