f2fs-tools: use proper 64bit types for PPC
PATCH 1/1 f2fs-tools: use proper 64bit types for PPC
A specific define is needed. Fixes mostly issues with -Wformat.
Signed-off-by Rosen Penev <[email protected]>
--- include/f2fs_fs.h | 3 +++ 1 file changed, 3 insertions(+)
include/f2fs_fs.h +3 -0
@@ -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>
Signature · 8 lines
2.35.1 _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel