[PATCHv4 1/3] mkfs.jffs2: fix casting of __off64_t

Artem Bityutskiy dedekind1 at gmail.com
Thu Apr 21 08:53:40 EDT 2011


On Wed, 2011-04-20 at 12:35 +0300, Andy Shevchenko wrote:
> The casting of __off64_t to unsigned long potentially wrong for values higher
> than ULONG_MAX.  Let's fix that by using PRIu64 classifier.
> 
> Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko at nokia.com>
> ---
>  mkfs.jffs2.c |   25 +++++++++++++------------
>  1 files changed, 13 insertions(+), 12 deletions(-)

Pushed, thank you!

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)




More information about the linux-mtd mailing list