loplugin:cstylecast (on Mac OS X, where pthread_t is a pointer type)
Change-Id: Ie4474a1bae02de88ea0c79510f3730d2f829239c
This commit is contained in:
parent
4698eeea35
commit
1ca9c116ec
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue