diff options
Diffstat (limited to 'security/trousers/files/patch-src_include_threads.h')
-rw-r--r-- | security/trousers/files/patch-src_include_threads.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/security/trousers/files/patch-src_include_threads.h b/security/trousers/files/patch-src_include_threads.h new file mode 100644 index 000000000000..feeb1b0e8795 --- /dev/null +++ b/security/trousers/files/patch-src_include_threads.h @@ -0,0 +1,11 @@ +--- src/include/threads.h.orig 2016-06-20 15:21:26 UTC ++++ src/include/threads.h +@@ -31,7 +31,7 @@ + #define COND_SIGNAL(c) pthread_cond_signal(c) + + /* thread abstractions */ +-#define THREAD_ID ((THREAD_TYPE)pthread_self()) ++#define THREAD_ID (long int)((THREAD_TYPE)pthread_self()) + #define THREAD_TYPE pthread_t + #define THREAD_JOIN pthread_join + #define THREAD_DETACH pthread_detach |