Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9f6f51d

Browse files
committed
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...
1 parentbbef913 commit9f6f51d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/include/storage/s_lock.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
6767
* Portions Copyright (c) 1994, Regents of the University of California
6868
*
69-
* $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.161 2007/07/1604:57:57 tgl Exp $
69+
* $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.162 2007/07/1614:02:22 tgl Exp $
7070
*
7171
*-------------------------------------------------------------------------
7272
*/
@@ -752,7 +752,7 @@ typedef abilock_t slock_t;
752752

753753
#include<sys/atomic_op.h>
754754

755-
typedefunsignedintslock_t;
755+
typedefintslock_t;
756756

757757
#defineTAS(lock)_check_lock((slock_t *) (lock), 0, 1)
758758
#defineS_UNLOCK(lock)_clear_lock((slock_t *) (lock), 0)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp