Forwarding upstream response:

On Fri, Jul 02, 2010 at 12:24:23PM -0400, Yaroslav Halchenko wrote:
> imho casting of print arguments should be removed, and string formatting 
> should
> be changed from
> 
> '%u' (unsigned int) into '%ju', where
> 
>        j      A following integer conversion corresponds to an intmax_t or 
> uintmax_t argument.

On Wed, Jul 07, 2010 at 11:10:53AM -0400, rick reynolds wrote:
> For printing it was suggested to switch away from use of %u when
> printing sizes, but that is something that is not appropriate,
> since we wanted the library to work with very old compilers.  The
> large number print formats seem to require C99.
> 
> Anyway, so I did not make changes for that.
> 
> It might be worth noting that this is the main reason that I
> required C99 in the GIFTI C library (GIFTI is the surface format
> under NIFTI).  C99 introduced long long and %lld.


We might nevertheless want to have that as a permanent patch in Debian,
but I'm not to keen on doing it.

Michael


-- 
GPG key:  1024D/3144BE0F Michael Hanke
http://mih.voxindeserto.de



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to