Subject: Re: CVS commit: src/sys/dist/ipf/netinet
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: source-changes
Date: 05/02/2007 16:24:31
In article <16489.1178081464@splode.eterna.com.au>,
matthew green <mrg@eterna.com.au> wrote:
>
> Modified Files:
> src/sys/dist/ipf/netinet: ip_nat.c ip_state.c
>
> Log Message:
> gcc is too clueless on some platforms to tell that
> (number divisible by 2 * 1.5) is an int, and thus fails spectacularly
> at either link or compile time. replace exprs with their int values.
>
>
>i wonder if the original intent could be better preserved by changing
>this to "* 3 / 2"?
Yes, that is probably better.
christos