From: James Cloos Date: Fri, 24 Apr 2009 22:20:45 GMT Subject: Re: [PATCH 1/1] Improve progress display in kB range. Message-ID: In-Reply-To: >>>>> "Nicolas" == Nicolas Pitre 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 OpenPGP: 1024D/ED7DAEA6