Explorar o código

Merge pull request #63 from bmx-ng/task/cast-new-thread-type

Cast to new thread type.
Brucey hai 10 meses
pai
achega
d96eba34b7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();
 
 	/* register with BlitzMax */
-	BBThread * bbThread = bbThreadRegister(SDL_ThreadID());
+	BBThread * bbThread = bbThreadRegister((bb_thread_t)SDL_ThreadID());
 
     /* Run the function */
     *statusloc = userfunc(userdata);