summaryrefslogtreecommitdiff
path: root/deadbeef.h
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-08-31 08:43:08 +0200
committerGravatar waker <wakeroid@gmail.com>2009-08-31 08:43:08 +0200
commitc3a2c81accae4d01a466a05e584ce5c35fcf69e6 (patch)
treebbeb8bd4c7181e16352db96b7e9b48feff667b04 /deadbeef.h
parent00f8f988f064e5146610bb7e15e89bc84041aad1 (diff)
fixed segfault on 64 bit platforms
Diffstat (limited to 'deadbeef.h')
-rw-r--r--deadbeef.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/deadbeef.h b/deadbeef.h
index b9c8a7be..4059f346 100644
--- a/deadbeef.h
+++ b/deadbeef.h
@@ -126,8 +126,8 @@ typedef struct {
const char *(*get_config_dir) (void);
void (*quit) (void);
// threading
- int (*thread_start) (void (*fn)(uintptr_t ctx), uintptr_t ctx);
- int (*thread_join) (int tid);
+ intptr_t (*thread_start) (void (*fn)(uintptr_t ctx), uintptr_t ctx);
+ int (*thread_join) (intptr_t tid);
uintptr_t (*mutex_create) (void);
void (*mutex_free) (uintptr_t mtx);
int (*mutex_lock) (uintptr_t mtx);