[Buildroot] [PATCH v1 1/4] exfatprogs: fix 64-bit types printf compile failure

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat May 9 20:42:12 UTC 2020


On Sat,  9 May 2020 18:21:14 +0200
Peter Seiderer <ps.report at gmx.net> wrote:

> Fixes:
> 
>   - http://autobuild.buildroot.net/results/a7364a6b3801d7d18c30c7242c6faf19431fddfd
> 
>   mkfs.c:60:14: error: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'long unsigned int' [-Werror=format=]
>     exfat_debug("Volume Length(sectors) : %llu\n",
>                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> Signed-off-by: Peter Seiderer <ps.report at gmx.net>
> ---
>  ...PRIu64-PRIx64-to-printf-64-bit-types.patch | 144 ++++++++++++++++++
>  1 file changed, 144 insertions(+)
>  create mode 100644 package/exfatprogs/0002-mkfs-fsck-use-PRIu64-PRIx64-to-printf-64-bit-types.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list