From: Rob Landley <rob@landley.net>
To: qemu-devel@nongnu.org
Cc: "Hervé Poussineau" <hpoussin@reactos.org>
Subject: Re: [Qemu-devel] Fix 64 bit number formatting on Windows
Date: Fri, 16 Feb 2007 12:34:53 -0500 [thread overview]
Message-ID: <200702161234.53535.rob@landley.net> (raw)
In-Reply-To: <20070213214623.613E4279D1@smtp5-g19.free.fr>
On Tuesday 13 February 2007 4:44 pm, Hervé Poussineau wrote:
> Hi,
>
> Correct number formatting on Windows for 64 bit numbers is "I64", while it
> is "ll" on *nix.
Might I introduce you to the c99 PRIu64 macro (and friends)?
uint64_t bytes=1234;
printf("%"PRIu64" bytes\n", bytes);
Rob
--
"Perfection is reached, not when there is no longer anything to add, but
when there is no longer anything to take away." - Antoine de Saint-Exupery
prev parent reply other threads:[~2007-02-16 17:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-13 21:44 [Qemu-devel] Fix 64 bit number formatting on Windows Hervé Poussineau
2007-02-16 17:34 ` Rob Landley [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200702161234.53535.rob@landley.net \
--to=rob@landley.net \
--cc=hpoussin@reactos.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).