From 07181a20e3a5aeadc977a241bbb088ee969cdc43 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Wed, 7 Oct 1998 02:21:54 +0000 Subject: [PATCH] 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 --- libobjc/ChangeLog | 5 +++++ libobjc/objc/sarray.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * 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 * 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