Browse Source

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

Cast to new thread type.
Brucey 10 months ago
parent
commit
d96eba34b7
1 changed files with 1 additions and 1 deletions
  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);