Subject: Re: [PATCH 1/1] Improve progress display in kB range.

From: James Cloos <[email-masked]>
Date: Fri, 24 Apr 2009 18:20:45 -0400

>>>>> "Nicolas" == Nicolas Pitre <[email-masked]> writes:

>> Will a patch which does round-to-nearest (instead of the current
>> round-to-zero) be accepted?

Nicolas> Sure.  What about this (untested):

Nicolas> +		int x = total + 5243;  /* for rounding */
Nicolas> +		int x = total + 5;  /* for rounding */

That looks correct.

-JimC
-- 
James Cloos <[email-masked]>         OpenPGP: 1024D/ED7DAEA6