Index: src/threading.h ================================================================== --- src/threading.h +++ src/threading.h @@ -49,14 +49,14 @@ typedef of_mutex_t of_spinlock_t; #endif #if defined(OF_HAVE_PTHREADS) # define of_thread_is_current(t) pthread_equal(t, pthread_self()) -# define of_thread_current() pthread_self() +# define of_thread_current pthread_self #elif defined(_WIN32) # define of_thread_is_current(t) (t == GetCurrentThread()) -# define of_thread_current() GetCurrentThread() +# define of_thread_current GetCurrentThread #endif static OF_INLINE BOOL of_thread_new(of_thread_t *thread, id (*main)(id), id data) {