Re: [sharutils-4.11.1] Compilation warnings

Petr Pisar <[email protected]>
Newsgroups gmane.comp.gnu.utils.bugs
Message-ID <[email protected]>
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
signature.asc (application/pgp-signature, 230 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iF4EABEIAAYFAlDBsm4ACgkQEsnFx2fG+qJ2xwD/QKDhhQRW/RHBSNgj8knhx9yJ
yczEFJbhVDsVIG/L58IBAIwsmlk+q0TG8hSh7P7aepCkA+OPpHodYi5TJcnjoYgT
=9jkx
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.