Kaydet (Commit) 1ca9c116 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

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

Change-Id: Ie4474a1bae02de88ea0c79510f3730d2f829239c
üst 4698eeea
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment