Date: Thu, 20 Feb 1997 09:01:15 +0200 (IST) From: Eli Zaretskii To: Benjamin D Chambers cc: djgpp AT delorie DOT com Subject: Re: Custom Stack? In-Reply-To: <19970219.133054.4935.2.chambersb@juno.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 19 Feb 1997, Benjamin D Chambers wrote: > The problem seemed to go away when I used &buf[10] instead of buf+40. > Don't ask me why. buf+40 is not the same as &buf[10], because of pointer arithmetics rules. &buf[10] is the same as buf+10 or (char *)buf + 40.