Date: Fri, 6 Feb 2015 08:34:59 -0800 From: "Simon J. Gerraty" <sjg@juniper.net> To: Bruce Evans <brde@optusnet.com.au> Cc: Anuranjan Shukla <anshukla@juniper.net>, "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org> Subject: Re: Buggy sbspace() on 64bit builds? Message-ID: <25403.1423240499@chaos> In-Reply-To: <20150206183036.S1246@besplex.bde.org> References: <D0F95E21.2489D%anshukla@juniper.net> <20150206183036.S1246@besplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans <brde@optusnet.com.au> wrote: > In the current version, changing the local variables from long to int > would restore the delicate conversions, slightly more obfuscated by > using redundant explicit assignments instead of redundant explicit casts. And *this* is why I asked Anu to send the question - rather than just change it to int ;-) Using int addresses the immediate issue, but the bug is worth discussion and perhaps broader consideration. Thanks for the analysis. --sjg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25403.1423240499>