src/thread/SDL_thread.c
changeset 3578 0d1b16ee0bca
parent 3300 34a4a01da79c
child 3697 f7b03b6838cb
     1.1 --- a/src/thread/SDL_thread.c	Wed Dec 16 03:02:31 2009 +0000
     1.2 +++ b/src/thread/SDL_thread.c	Wed Dec 16 04:48:11 2009 +0000
     1.3 @@ -159,7 +159,7 @@
     1.4      errbuf = &SDL_global_error;
     1.5      if (SDL_Threads) {
     1.6          int i;
     1.7 -        Uint32 this_thread;
     1.8 +        SDL_threadID this_thread;
     1.9  
    1.10          this_thread = SDL_ThreadID();
    1.11          SDL_mutexP(thread_lock);
    1.12 @@ -292,17 +292,17 @@
    1.13      }
    1.14  }
    1.15  
    1.16 -Uint32
    1.17 +SDL_threadID
    1.18  SDL_GetThreadID(SDL_Thread * thread)
    1.19  {
    1.20 -    Uint32 id;
    1.21 +    SDL_threadID id;
    1.22  
    1.23      if (thread) {
    1.24          id = thread->threadid;
    1.25      } else {
    1.26          id = SDL_ThreadID();
    1.27      }
    1.28 -    return (id);
    1.29 +    return id;
    1.30  }
    1.31  
    1.32  void