diff options
Diffstat (limited to 'threading_pthread.c')
-rw-r--r-- | threading_pthread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/threading_pthread.c b/threading_pthread.c index 0934ab4a..942ddbfe 100644 --- a/threading_pthread.c +++ b/threading_pthread.c @@ -20,7 +20,7 @@ #include <stdlib.h> #include "threading.h" -int +intptr_t thread_start (void (*fn)(uintptr_t ctx), uintptr_t ctx) { pthread_t tid; pthread_attr_t attr; @@ -44,7 +44,7 @@ thread_start (void (*fn)(uintptr_t ctx), uintptr_t ctx) { } int -thread_join (int tid) { +thread_join (intptr_t tid) { void *retval; int s = pthread_join ((pthread_t)tid, &retval); if (s) { |