Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dist/ipf/netinet



In article <16489.1178081464%splode.eterna.com.au@localhost>,
matthew green  <mrg%eterna.com.au@localhost> 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




Home | Main Index | Thread Index | Old Index