[PATCHv2 2/2] mkfs.jffs2: fix casting of __off64_t
Mike Frysinger
vapier.adi at gmail.com
Mon Apr 18 10:57:04 EDT 2011
On Mon, Apr 18, 2011 at 10:50, Andy Shevchenko wrote:
> On Mon, 2011-04-18 at 10:29 -0400, ext Mike Frysinger wrote:
>> On Mon, Apr 18, 2011 at 10:26, Andy Shevchenko wrote:
>> > [1]
>> > http://pubs.opengroup.org/onlinepubs/000095399/basedefs/inttypes.h.html
>> > [2] http://pubs.opengroup.org/onlinepubs/009695399/functions/printf.html
>>
>> on the off chance you missed it, Issue 7 is out:
>> http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/inttypes.h.html
>
> It's true. However it doesn't matter to our talk.
it doesnt ... i was just letting you know in case you werent aware.
Issue 7 has a lot of fun new features.
> The question is which way is better PRIu64 or %jd.
%jd means [u]intmax_t which is not what this is ... on a 32bit system,
int is 32bit. we're dealing with an explicitly 64bit type (off64_t),
so let's go with an explicitly 64bit printf modifier.
-mike
More information about the linux-mtd
mailing list