aboutsummaryrefslogtreecommitdiff
path: root/libobjc
diff options
context:
space:
mode:
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 fb4fe73..2811532f 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 74fa386..17da272 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