summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2007-04-03 18:28:13 +0000
committerkan <kan@FreeBSD.org>2007-04-03 18:28:13 +0000
commit34c2527aa4837fb3920e7a6fa68ac03a68012223 (patch)
treeb5c4690a5bf86cfb9f9d9b1a49e855e3f31ea97e /libexec
parent203e5e3642c9859da1ab2bc1451a2d9fd5d2b8dd (diff)
downloadFreeBSD-src-34c2527aa4837fb3920e7a6fa68ac03a68012223.zip
FreeBSD-src-34c2527aa4837fb3920e7a6fa68ac03a68012223.tar.gz
Use u_int for variable manipulated by atomic ops to match atomic
ops function prototypes.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/rtld_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rtld-elf/rtld_lock.c b/libexec/rtld-elf/rtld_lock.c
index 7bffc94..1d77fe1 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;
OpenPOWER on IntegriCloud