summaryrefslogtreecommitdiff
path: root/libobjc
diff options
context:
space:
mode:
authordavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-07 02:21:54 +0000
committerdavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-07 02:21:54 +0000
commite0392629a122213a08789dc5db2679902a16a3ae (patch)
tree62f9838cdd1cc7a0bfe340a05609c126ae56b189 /libobjc
parent75591caab224aa0212d38047e6ecbbbaf4719a1a (diff)
downloadgcc-e0392629a122213a08789dc5db2679902a16a3ae.tar.gz
* objc/sarray.h: Make boffset be an unsigned long when sparc so it
works out on 64-bit systems. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22881 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc')
-rw-r--r--libobjc/ChangeLog5
-rw-r--r--libobjc/objc/sarray.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog
index fb4fe73e10e..2811532fa72 100644
--- a/libobjc/ChangeLog
+++ b/libobjc/ChangeLog
@@ -1,3 +1,8 @@
+1998-10-07 David S. Miller <davem@pierdol.cobaltmicro.com>
+
+ * objc/sarray.h: Make boffset be an unsigned long when sparc so it
+ works out on 64-bit systems.
+
Tue Oct 6 20:32:06 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
* Makefile.in (INCLUDES): Make it multilib-friendly
diff --git a/libobjc/objc/sarray.h b/libobjc/objc/sarray.h
index 74fa38652ba..17da2720364 100644
--- a/libobjc/objc/sarray.h
+++ b/libobjc/objc/sarray.h
@@ -92,7 +92,7 @@ struct soffset {
unsigned int ioffset : SIZET_BITS/4;
#else /* OBJC_SPARSE2 */
#ifdef __sparc__
- unsigned int boffset : (SIZET_BITS - 2) - BUCKET_BITS;
+ unsigned long boffset : (SIZET_BITS - 2) - BUCKET_BITS;
unsigned int eoffset : BUCKET_BITS;
unsigned int unused : 2;
#else