www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/06/11/08:35:01

X-Authentication-Warning: acp3bf.physik.rwth-aachen.de: broeker owned process doing -bs
Date: Mon, 11 Jun 2001 14:09:46 +0200 (MET DST)
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
X-Sender: broeker AT acp3bf
To: djgpp-workers AT delorie DOT com
Subject: Re: Compiler options for djdev build
In-Reply-To: <200106092056.WAA08741@mother.ludd.luth.se>
Message-ID: <Pine.LNX.4.10.10106111408450.966-100000@acp3bf>
MIME-Version: 1.0
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

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?

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019