grub-devel
[Top][All Lists]
Advanced

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

Re: [RFC, PATCH] C99 format specifiers for fixed-length integer types


From: Pavel Roskin
Subject: Re: [RFC, PATCH] C99 format specifiers for fixed-length integer types
Date: Thu, 23 Jul 2009 17:48:02 -0400

On Thu, 2009-07-23 at 23:25 +0200, Javier Martín wrote:

> With the reduced version of the patch I'm putting forward, such a
> (hypothetical, indeed) change will only impact types.h, while otherwise
> many source files will need to be modified in a hunt for "%ll"s and
> their variations. We can consider "lower" types safe since the
> autopromotion rules will keep the compiler happy even if int becomes
> 64-bit.

OK, I'm fine with this change.  It would only address the problem we
have now (long vs .long long for 64-bit types) without trying to
anticipate what other platforms we may support.

-- 
Regards,
Pavel Roskin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]