We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61091ec commit 291724dCopy full SHA for 291724d
src/include/storage/s_lock.h
@@ -66,7 +66,7 @@
66
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
67
* Portions Copyright (c) 1994, Regents of the University of California
68
*
69
- * $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.151 2006/04/28 03:43:19 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.152 2006/04/29 11:55:19 momjian Exp $
70
71
*-------------------------------------------------------------------------
72
*/
@@ -765,7 +765,7 @@ typedef unsigned char slock_t;
765
766
#if defined(__sun) && (defined(__i386) || defined(__x86_64__) || defined(__sparc__) || defined(__sparc))
767
#define HAS_TEST_AND_SET
768
-typedef unsigned char slock_t;
+typedef unsigned int slock_t;
769
770
extern slock_t pg_atomic_cas(volatile slock_t *lock, slock_t with,
771
slock_t cmp);
0 commit comments