diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-10-01 12:07:30 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-10-01 12:08:32 +0200 |
commit | 460a807809c31fbce94daacff1c89018d9ae2610 (patch) | |
tree | ec9fac5718938e46755478a1a4758404c15a7f87 /sal | |
parent | dc7ca91a0494713a057da33cf33f1a83640f6a75 (diff) |
sal: work around spurious Apple clang warning about pointer cast to int
Change-Id: I4e4281ac8767c9a6b6b85bc759f28bcf074d8e39
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/thread.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/thread.cxx b/sal/osl/unx/thread.cxx index 1f0a5871d919..739dd180f727 100644 --- a/sal/osl/unx/thread.cxx +++ b/sal/osl/unx/thread.cxx @@ -551,7 +551,7 @@ void SAL_CALL osl_setThreadName(char const * name) { /* osl_getThreadIdentifier @@@ see TODO @@@ */ /*****************************************************************************/ -#define HASHID(x) ((unsigned int)PTHREAD_VALUE(x) % HashSize) +#define HASHID(x) ((unsigned long)PTHREAD_VALUE(x) % HashSize) typedef struct _HashEntry { |