--- xbmc/linux/XThreadUtils.cpp.orig 2009-09-03 19:51:29.868591169 +0200 +++ xbmc/linux/XThreadUtils.cpp 2009-09-03 19:53:40.307582739 +0200 @@ -276,7 +276,7 @@ lpUserTime->dwLowDateTime = 0; lpUserTime->dwHighDateTime = 0; pthread_t thread = (pthread_t)SDL_GetThreadID(hThread->m_hThread); - if(thread) + if(sizeof(pthread_t) == sizeof(Uint32) && thread) { clockid_t clock; if(pthread_getcpuclockid(thread, &clock) == 0)