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
This commit is contained in:
David S. Miller 1998-10-07 02:21:54 +00:00 committed by David S. Miller
parent 959eb7588f
commit 07181a20e3
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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