aboutsummaryrefslogtreecommitdiff
path: root/libobjc/objc
diff options
context:
space:
mode:
authorDavid S. Miller <davem@pierdol.cobaltmicro.com>1998-10-07 02:21:54 +0000
committerDavid S. Miller <davem@gcc.gnu.org>1998-10-06 19:21:54 -0700
commit07181a20e3a5aeadc977a241bbb088ee969cdc43 (patch)
tree62f9838cdd1cc7a0bfe340a05609c126ae56b189 /libobjc/objc
parent959eb7588fd26f99adfd96a0163454649e782e4d (diff)
downloadgcc-07181a20e3a5aeadc977a241bbb088ee969cdc43.zip
gcc-07181a20e3a5aeadc977a241bbb088ee969cdc43.tar.gz
gcc-07181a20e3a5aeadc977a241bbb088ee969cdc43.tar.bz2
sarray.h: Make boffset be an unsigned long when sparc so it works out on 64-bit systems.
* objc/sarray.h: Make boffset be an unsigned long when sparc so it works out on 64-bit systems. From-SVN: r22881
Diffstat (limited to 'libobjc/objc')
-rw-r--r--libobjc/objc/sarray.h2
1 files changed, 1 insertions, 1 deletions
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