diff options
author | waker <wakeroid@gmail.com> | 2009-08-31 08:43:08 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2009-08-31 08:43:08 +0200 |
commit | c3a2c81accae4d01a466a05e584ce5c35fcf69e6 (patch) | |
tree | bbeb8bd4c7181e16352db96b7e9b48feff667b04 /threading.h | |
parent | 00f8f988f064e5146610bb7e15e89bc84041aad1 (diff) |
fixed segfault on 64 bit platforms
Diffstat (limited to 'threading.h')
-rw-r--r-- | threading.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/threading.h b/threading.h index f899e73f..2e986b59 100644 --- a/threading.h +++ b/threading.h @@ -20,11 +20,11 @@ #include <stdint.h> -int +intptr_t thread_start (void (*fn)(uintptr_t ctx), uintptr_t ctx); int -thread_join (int tid); +thread_join (intptr_t tid); uintptr_t mutex_create (void); void mutex_free (uintptr_t mtx); |