| delorie.com/archives/browse.cgi | search |
| Date: | Thu, 20 Feb 1997 09:01:15 +0200 (IST) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| To: | Benjamin D Chambers <chambersb AT juno DOT com> |
| cc: | djgpp AT delorie DOT com |
| Subject: | Re: Custom Stack? |
| In-Reply-To: | <19970219.133054.4935.2.chambersb@juno.com> |
| Message-ID: | <Pine.SUN.3.91.970220090001.25071H-100000@is> |
| MIME-Version: | 1.0 |
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.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |