From c3a2c81accae4d01a466a05e584ce5c35fcf69e6 Mon Sep 17 00:00:00 2001 From: waker Date: Mon, 31 Aug 2009 08:43:08 +0200 Subject: fixed segfault on 64 bit platforms --- threading.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'threading.h') diff --git a/threading.h b/threading.h index f899e73f..2e986b59 100644 --- a/threading.h +++ b/threading.h @@ -20,11 +20,11 @@ #include -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); -- cgit v1.2.3