src/thread/pth/SDL_systhread.c
changeset 3578 0d1b16ee0bca
parent 2859 99210400e8b9
     1.1 --- a/src/thread/pth/SDL_systhread.c	Wed Dec 16 03:02:31 2009 +0000
     1.2 +++ b/src/thread/pth/SDL_systhread.c	Wed Dec 16 04:48:11 2009 +0000
     1.3 @@ -88,11 +88,10 @@
     1.4      pth_cancel_state(PTH_CANCEL_ASYNCHRONOUS, &oldstate);
     1.5  }
     1.6  
     1.7 -/* WARNING:  This may not work for systems with 64-bit pid_t */
     1.8 -Uint32
     1.9 +SDL_threadID
    1.10  SDL_ThreadID(void)
    1.11  {
    1.12 -    return ((Uint32) pth_self());
    1.13 +    return ((SDL_threadID) pth_self());
    1.14  }
    1.15  
    1.16  void