1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/security/trousers/files/patch-src-include-threads.h
Norikatsu Shigemura 7612f38ced Add trousers 0.3.6, is a CPL (Common Public License) licensed Trusted
Computing Software Stack.  It is mostly compliant with the TSS 1.2
specification.

Obtained from:	http://bsssd.sourceforge.net/
2010-11-07 12:05:27 +00:00

12 lines
445 B
C

--- src/include/threads.h.orig 2010-05-03 11:54:15.000000000 +0900
+++ src/include/threads.h 2010-10-24 21:04:04.828558009 +0900
@@ -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