postfix-users January 2011 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: Postfix 2.8 stable release soon

Re: Postfix 2.8 stable release soon

From: Victor Duchovni <Victor.Duchovni_at_nospam>
Date: Mon Jan 17 2011 - 20:09:20 GMT
To: postfix-users@postfix.org

On Mon, Jan 17, 2011 at 02:56:57PM -0500, Wietse Venema wrote:

> Well this is the code:
>
> psc_lowat_check_queue_length = .7 * var_psc_pre_queue_limit;
> psc_hiwat_check_queue_length = .9 * var_psc_pre_queue_limit;

Is the compiler first converting 0.7 to an integer and *then* doing
the multiplication?

That would violate the C arithmetic type promotion rules.

-- Viktor.