Skip to content

Commit 291724d

Browse files
committed
Solaris tas() uses 'int' now.
Theo Schlossnagle
1 parent 61091ec commit 291724d

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-2006, 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.151 2006/04/28 03:43:19 momjian Exp $
69+
* $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.152 2006/04/29 11:55:19 momjian Exp $
7070
*
7171
*-------------------------------------------------------------------------
7272
*/
@@ -765,7 +765,7 @@ typedef unsigned char slock_t;
765765

766766
#if defined(__sun) && (defined(__i386) || defined(__x86_64__) || defined(__sparc__) || defined(__sparc))
767767
#define HAS_TEST_AND_SET
768-
typedef unsigned char slock_t;
768+
typedef unsigned int slock_t;
769769

770770
extern slock_t pg_atomic_cas(volatile slock_t *lock, slock_t with,
771771
slock_t cmp);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy