X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Tue, 9 Mar 2004 09:47:05 -0500 Message-Id: <200403091447.i29El5i5002005@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: (huli_ebtyt AT list DOT ru) Subject: Re: structures vs memory References: Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Why DJGPP reserves 2 bytes of memory for the element of char type in a > structure, when sizeof(structureName.elementName) returns 1? It doesn't. What it might do is pad the entry so that the NEXT field is properly aligned for its type.