]> granicus.if.org Git - postgresql/commitdiff
slock_t must be int not char for MIPS. 7.4 got this right, but the
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 30 Aug 2004 22:49:07 +0000 (22:49 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 30 Aug 2004 22:49:07 +0000 (22:49 +0000)
info was apparently mistranscribed in s_lock code rearrangement.

src/include/storage/s_lock.h

index 6236d79a721105bebc3563630b1c7f2e19e010d8..bdaf560948de35e88a8dc1e41443b4a7259f9b81 100644 (file)
@@ -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