zfs/lib/libzpool
Tomohiro Kusumi 5ae4e4481e Don't assume pthread_t is uint_t for portability
POSIX doesn't define pthread_t as uint_t. It could be a pointer.
This code causes below compile error on a platform using pointer
for pthread_t.

--
kernel.c:815:25: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
    (void) printf("%u ", (uint_t)pthread_self());

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Closes #8558
2019-04-09 20:49:03 -07:00
..
Makefile.am Add TRIM support 2019-03-29 09:13:20 -07:00
kernel.c Don't assume pthread_t is uint_t for portability 2019-04-09 20:49:03 -07:00
taskq.c codebase style improvements for OpenZFS 6459 port 2017-01-22 13:25:40 -08:00
util.c Fix zdb crash 2019-02-19 11:15:22 -08:00