Use u_int for variable manipulated by atomic ops to match atomic
ops function prototypes.
This commit is contained in:
parent
802d9610eb
commit
fb6395da91
@ -54,7 +54,7 @@
|
||||
#define RC_INCR 0x2 /* Adjusts count of readers desiring lock */
|
||||
|
||||
typedef struct Struct_Lock {
|
||||
volatile int lock;
|
||||
volatile u_int lock;
|
||||
void *base;
|
||||
} Lock;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user