Subject: Re: daddr_t change
To: Martin Husemann <email@example.com>
From: Jason R Thorpe <firstname.lastname@example.org>
Date: 01/25/2003 09:03:19
On Sat, Jan 25, 2003 at 12:51:38PM +0100, Martin Husemann wrote:
> > How do we print such a beast canonically? cast to (int64_t), then %q ?
> The current practice for similar types is casting to (long long) and using
> "%lld" or "%llu".
> IIRC %q is not standard.
> In this context I think the cast is not necessary, since it's explicitly a 64
> bit type anyway, right?
Use <inttypes.h> and PRIx64 or the like.
-- Jason R. Thorpe <email@example.com>