diff options
author | Martin Hollmichel <mh@openoffice.org> | 2002-08-13 10:39:25 +0000 |
---|---|---|
committer | Martin Hollmichel <mh@openoffice.org> | 2002-08-13 10:39:25 +0000 |
commit | a8706ae2f52662de5e5e5a39378f06d7889a7ed2 (patch) | |
tree | d4ff8668157582f1767a9bbb5085fec8e723ed32 /sal | |
parent | 7d5508f0cc54dd2984ad5eeb6949730be038a5db (diff) |
chg: HASHID function arithmetic error fixed, #101685#
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/thread.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/osl/unx/thread.c b/sal/osl/unx/thread.c index 31c59aa57746..793d16f32fa0 100644 --- a/sal/osl/unx/thread.c +++ b/sal/osl/unx/thread.c @@ -2,9 +2,9 @@ * * $RCSfile: thread.c,v $ * - * $Revision: 1.21 $ + * $Revision: 1.22 $ * - * last change: $Author: mhu $ $Date: 2001-08-23 19:21:42 $ + * last change: $Author: mh $ $Date: 2002-08-13 11:39:25 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -143,7 +143,7 @@ static oslSignalAction oslSigAlarmHandler(void* pData, oslSignalInfo* pInfo) /* ID management */ /*****************************************************************************/ -#define HASHID(x) ((int)PTHREAD_VALUE(x) % HashSize) +#define HASHID(x) ((unsigned int)PTHREAD_VALUE(x) % HashSize) typedef struct _HashEntry { |