Date: Mon, 11 Jun 2001 17:03:56 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Hans-Bernhard Broeker cc: djgpp-workers AT delorie DOT com Subject: Re: Compiler options for djdev build In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 11 Jun 2001, Hans-Bernhard Broeker wrote: > On Sat, 9 Jun 2001, Martin Str|mberg wrote: > > > We're closing in. Some more hesitasion from me: > > @@ -227,7 +227,7 @@ get_stacker_info(int drive_num) > > illegal address abort when we try to peek at the signature below. > > Actually, it's enough to test for (FFFFFh - 55h - drive), because > > we need to get the host drive number at that offset. */ > > - if (stac_driver_ptr > 0x0000fffaa - drive_num) > > + if (stac_driver_ptr > 0x0000fffaa - (unsigned)drive_num) > > Any particular reason not to turn the argument drive_num itself into > an unsigned int? Yes: static char drive_number = -1;