Khem Raj 92fcf75d6d drd/tests/pth_detached3: Make pthread_detach() call portable across platforms
pthread_t is opaque type therefore we can not apply simple arithmetic to
variables of pthread_t type this test needs to pass a invalid pthread_t
handle, typcasting to uintptr_t works too and is portable across glibc and
musl

Fixes
| pth_detached3.c:24:25: error: invalid use of undefined type 'struct __pthread'
|    24 |   pthread_detach(thread + 8);
|       |                         ^

[ bvanassche: reformatted patch description and fixed up line numbers ]
2020-01-28 20:38:04 -08:00
..
2018-12-05 18:15:57 -08:00
2009-08-14 06:45:16 +00:00
2009-08-14 06:45:16 +00:00
2009-08-14 06:45:16 +00:00
2009-08-14 06:45:16 +00:00
2018-06-15 13:44:14 +00:00
2009-07-26 09:04:42 +00:00
2009-04-28 11:19:43 +00:00
2013-12-10 17:56:20 +00:00
2013-12-10 17:56:20 +00:00
2014-08-20 06:48:22 +00:00