summaryrefslogtreecommitdiff
path: root/sal/osl/unx/thread.c
diff options
context:
space:
mode:
authorMartin Hollmichel <mh@openoffice.org>2002-08-13 10:39:25 +0000
committerMartin Hollmichel <mh@openoffice.org>2002-08-13 10:39:25 +0000
commitb89dff2a7df73b3c60ca68e71101fe46c1955712 (patch)
tree157c3d2ac7ba8ca46a53653189f8db9fb69fb66a /sal/osl/unx/thread.c
parentc2e7b1818b73c99d879f076a3e767460cbd784f2 (diff)
chg: HASHID function arithmetic error fixed, #101685#
Diffstat (limited to 'sal/osl/unx/thread.c')
-rw-r--r--sal/osl/unx/thread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/osl/unx/thread.c b/sal/osl/unx/thread.c
index 3326797da..7458b2d17 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
{