Explorar el Código

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

Cast to new thread type.
Brucey hace 10 meses
padre
commit
d96eba34b7
Se han modificado 1 ficheros con 1 adiciones y 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);