File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 66
66
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
67
67
* Portions Copyright (c) 1994, Regents of the University of California
68
68
*
69
- * $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.160 2007/07/16 02:03:14 tgl Exp $
69
+ * $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.161 2007/07/16 04:57:57 tgl Exp $
70
70
*
71
71
*-------------------------------------------------------------------------
72
72
*/
@@ -754,8 +754,8 @@ typedef abilock_t slock_t;
754
754
755
755
typedef unsigned int slock_t ;
756
756
757
- #define TAS (lock ) _check_lock(lock, 0, 1)
758
- #define S_UNLOCK (lock ) _clear_lock(lock, 0)
757
+ #define TAS (lock ) _check_lock((slock_t *) ( lock) , 0, 1)
758
+ #define S_UNLOCK (lock ) _clear_lock((slock_t *) ( lock) , 0)
759
759
#endif /* _AIX */
760
760
761
761
You can’t perform that action at this time.
0 commit comments