From: spiritseeker Newsgroups: comp.os.msdos.djgpp Subject: Why does sizeof give me... Date: Wed, 06 Aug 1997 22:06:06 -0700 Organization: d3m/fusion/pooh/advance Lines: 13 Message-ID: <33E957BE.7216@geocities.com> Reply-To: spiritseeker AT geocities DOT com NNTP-Posting-Host: dialup178-2-19.swipnet.se Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-User: s-23470 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hello, hello! I'm converting some code from my old 16 bit c programs to 32 bit .. suddenly sizeof gives me values that are many bytes larger than my old structures! This means whenever i want to fread and fwrite files the structures get's messed up! I compiled the same .c file in borland. and there was a 300 byte difference beetwen the sizeof from bc and the one from djgpp. What to do? /Jonas