aboutsummaryrefslogtreecommitdiff
path: root/audio/deadbeef/files/patch-threading__pthread.c
blob: af7e3a83cced060812e25af204247fbd232dc0cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- threading_pthread.c.orig	2016-06-19 11:26:18 UTC
+++ threading_pthread.c
@@ -54,7 +54,7 @@ thread_start (void (*fn)(void *ctx), void *ctx) {
         fprintf (stderr, "pthread_attr_destroy failed: %s\n", strerror (s));
         return 0;
     }
-    return tid;
+    return (intptr_t)tid;
 }
 
 intptr_t