From fb6395da912c559fec87af1950733bb9866145b3 Mon Sep 17 00:00:00 2001 From: Alexander Kabaev Date: Tue, 3 Apr 2007 18:28:13 +0000 Subject: [PATCH] Use u_int for variable manipulated by atomic ops to match atomic ops function prototypes. --- libexec/rtld-elf/rtld_lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/rtld-elf/rtld_lock.c b/libexec/rtld-elf/rtld_lock.c index 7bffc94913e9..1d77fe105591 100644 --- a/libexec/rtld-elf/rtld_lock.c +++ b/libexec/rtld-elf/rtld_lock.c @@ -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;