diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-11-30 21:49:37 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-11-30 21:49:37 +0100 |
commit | 9155bd34e06af07863b681f7125a51829e622950 (patch) | |
tree | d61e03fb3cf7a49294562fdbd6f52896e7f83e18 /threading_pthread.c | |
parent | 7e20827fce4ac2609a834329e16fad363c58a201 (diff) |
sanitized thread_start API
Diffstat (limited to 'threading_pthread.c')
-rw-r--r-- | threading_pthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/threading_pthread.c b/threading_pthread.c index 942ddbfe..3ef22b26 100644 --- a/threading_pthread.c +++ b/threading_pthread.c @@ -21,7 +21,7 @@ #include "threading.h" intptr_t -thread_start (void (*fn)(uintptr_t ctx), uintptr_t ctx) { +thread_start (void (*fn)(void *ctx), void *ctx) { pthread_t tid; pthread_attr_t attr; int s = pthread_attr_init (&attr); |