summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2004-08-30 22:49:07 +0000
committerTom Lane2004-08-30 22:49:07 +0000
commit17364edce6c108dd3c2a9e9bc3708460048c50eb (patch)
treeab21104ec760275f8001136a441964ade4bf0121
parent26b7c04b371674ec08babce7187cd64a00c5cbbc (diff)
slock_t must be int not char for MIPS. 7.4 got this right, but the
info was apparently mistranscribed in s_lock code rearrangement.
-rw-r--r--src/include/storage/s_lock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h
index 6236d79a721..bdaf560948d 100644
--- a/src/include/storage/s_lock.h
+++ b/src/include/storage/s_lock.h
@@ -66,7 +66,7 @@
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.127 2004/08/29 04:13:10 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.128 2004/08/30 22:49:07 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -428,7 +428,7 @@ typedef unsigned char slock_t;
#if defined(__mips__) && !defined(__sgi)
#define HAS_TEST_AND_SET
-typedef unsigned char slock_t;
+typedef unsigned int slock_t;
#endif