loplugin:cstylecast (on Mac OS X, where pthread_t is a pointer type)

Change-Id: Ie4474a1bae02de88ea0c79510f3730d2f829239c
This commit is contained in:
Stephan Bergmann 2015-01-21 14:06:19 +01:00
parent 4698eeea35
commit 1ca9c116ec

View file

@ -551,7 +551,7 @@ void SAL_CALL osl_setThreadName(char const * name) {
/* osl_getThreadIdentifier @@@ see TODO @@@ */
/*****************************************************************************/
#define HASHID(x) ((unsigned long)PTHREAD_VALUE(x) % HashSize)
#define HASHID(x) (reinterpret_cast<unsigned long>(PTHREAD_VALUE(x)) % HashSize)
typedef struct _HashEntry
{