bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: [sharutils-4.11.1] Compilation warnings


From: Petr Pisar
Subject: Re: [sharutils-4.11.1] Compilation warnings
Date: Fri, 7 Dec 2012 10:10:06 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Dec 06, 2012 at 06:09:41PM -0800, Bruce Korb wrote:
> On 12/06/12 16:29, Eric Blake wrote:
> WRT:  using "%lu" for uint64_t formatting:
> 
> > ... The only portable solution here is to cast to '[u]intmax_t'.
> 
> What is the correct formatting element?

"%ju". See printf(3).

-- Petr

Attachment: pgpE2G9GcKVBX.pgp
Description: PGP signature


reply via email to

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