e2fsprogs/resize
Theodore Ts'o 33b9a60c36 Fix clang warnings on architectures with a 64-bit long
On most systems where we compile e2fsprogs, the u64 type is an
unsigned long long.  However, there are platforms (such as the
PowerPC) where a long 64-bits and so u64 is typedef'ed to be unsigned
long instead of a unsigned long long.  Fix this by using explicit
casts in printf statements.  For scanf calls, we need to receive the
value into a unsigned long long, and then assign it to a u64, after
doing range checks.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2021-02-11 10:55:21 -05:00
..
Android.bp AOSP: tune2fs/resize2fs: make vendor_ramdisk_available. 2021-01-28 00:04:14 -05:00
extent.c Fix clang warnings on architectures with a 64-bit long 2021-02-11 10:55:21 -05:00
main.c Fix clang warnings on architectures with a 64-bit long 2021-02-11 10:55:21 -05:00
Makefile.in Only build resize2fs.static when running "make all-static" 2021-01-23 00:46:04 -05:00
online.c Fix clang warnings on architectures with a 64-bit long 2021-02-11 10:55:21 -05:00
resize2fs.8.in resize2fs: Remove the real kilobytes rant from man page 2018-07-22 15:03:03 -04:00
resize2fs.c Fix clang warnings on architectures with a 64-bit long 2021-02-11 10:55:21 -05:00
resize2fs.h Fix typos in code comments and developer docs 2017-10-15 23:00:11 -04:00
resource_track.c resize2fs: add resource tracking as a debug option 2013-01-03 09:03:53 -05:00
sim_progress.c Fix typos in code comments and developer docs 2017-10-15 23:00:11 -04:00
test_extent.c Fix clang warnings on architectures with a 64-bit long 2021-02-11 10:55:21 -05:00
test_extent.in Many files: 1997-06-17 03:52:12 +00:00
test-resize resize2fs: check in test-resize script 2013-01-16 14:09:21 -05:00