From d8efa3cc8c1122ea54fc85e54652ffbf27b2861f Mon Sep 17 00:00:00 2001 From: David Xu Date: Sat, 11 Nov 2006 14:00:39 +0000 Subject: [PATCH] define UMUTEX_CONTESTED as an unsigned integer. --- sys/sys/umtx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/umtx.h b/sys/sys/umtx.h index 3156b22dec9b..b0d796dbcc96 100644 --- a/sys/sys/umtx.h +++ b/sys/sys/umtx.h @@ -47,7 +47,7 @@ struct umtx { #define USYNC_PROCESS_SHARED 0x0001 /* Process shared sync objs */ #define UMUTEX_UNOWNED 0x0 -#define UMUTEX_CONTESTED 0x80000000 +#define UMUTEX_CONTESTED 0x80000000U #define UMUTEX_ERROR_CHECK 0x0002 /* Error-checking mutex */ #define UMUTEX_PRIO_INHERIT 0x0004 /* Priority inherited mutex */