Date: Fri, 24 Oct 1997 12:46:01 +0200 (IST) From: Eli Zaretskii To: Vik Heyndrickx cc: djgpp workers Subject: Re: 971009: (offset, selector) are (long unsigned, short unsigned) In-Reply-To: <344F09FF.6E11@rug.ac.be> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 23 Oct 1997, Vik Heyndrickx wrote: > -void dosmemget(int offset, int length, void *buffer); > +void dosmemget(unsigned long offset, size_t length, void *buffer); > -void dosmemput(const void *buffer, int length, int offset); > +void dosmemput(const void *buffer, size_t length, unsigned long offset); Since `dosmemXXX' functions are for accessing the 1st MB of memory, why is there a need to go to unsigned long for offsets? To let people mess with more bits when they have their offsets wrong? I would go to 16 bits if it were at all possible, but unfortunately the offset needs 20 bits.