diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-07-16 14:02:22 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-07-16 14:02:22 +0000 |
commit | 9f6f51d5d45444c1459ec9564c29a3c205d689f6 (patch) | |
tree | d373c17073d24238e53546c1bd57df93c5e58d8e /src | |
parent | bbef913250e34fcf4bb79c6ef381c247e61f8e8a (diff) | |
download | postgresql-9f6f51d5d45444c1459ec9564c29a3c205d689f6.tar.gz postgresql-9f6f51d5d45444c1459ec9564c29a3c205d689f6.zip |
Hmm, so evidently _check_lock and _clear_lock take an argument of type
int not unsigned int. Third try to get grebe building without warnings...
Diffstat (limited to 'src')
-rw-r--r-- | src/include/storage/s_lock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h index 8db85ce63c4..6735fdb77a0 100644 --- a/src/include/storage/s_lock.h +++ b/src/include/storage/s_lock.h @@ -66,7 +66,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.161 2007/07/16 04:57:57 tgl Exp $ + * $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.162 2007/07/16 14:02:22 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -752,7 +752,7 @@ typedef abilock_t slock_t; #include <sys/atomic_op.h> -typedef unsigned int slock_t; +typedef int slock_t; #define TAS(lock) _check_lock((slock_t *) (lock), 0, 1) #define S_UNLOCK(lock) _clear_lock((slock_t *) (lock), 0) |