f2fs-tools: use proper 64bit types for PPC

commit 46e1b83398523332521899b6bc88baeb9c8c3f91
category: bugfix
issue: #I6VAS0
CVE: NA

Signed-off-by: DongSenhao <dongsenhao2@huawei.com>
---------------------------------------

A specific define is needed. Fixes mostly issues with -Wformat.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: dongsenhao <dongsenhao2@huawei.com>
This commit is contained in:
Rosen Penev 2022-02-28 22:25:03 -08:00 committed by dongsenhao
parent 01d4637451
commit de642e2612

View File

@ -41,6 +41,9 @@
#include <inttypes.h>
#ifdef HAVE_LINUX_TYPES_H
#ifndef __SANE_USERSPACE_TYPES__
#define __SANE_USERSPACE_TYPES__ /* For PPC64, to get LL64 types */
#endif
#include <linux/types.h>
#endif
#include <sys/types.h>