Re: [PATCH 3/6] mke2fs: use ext2fs_get_device_size2() on all platforms
From: "Theodore Ts'o" <tytso@mit.edu>
Date: 2021-07-07 02:43:44
From: "Theodore Ts'o" <tytso@mit.edu>
Date: 2021-07-07 02:43:44
On Tue, Jun 15, 2021 at 09:53:31PM -0700, Eric Biggers wrote:
From: Eric Biggers <redacted>
Since commit e8c858047be6 ("libext2fs: fix build issue for on
Windows/Cygwin systems"), ext2fs_get_device_size2() is available in
Windows builds of libext2fs. So there is no need for mke2fs to call
ext2fs_get_device_size() instead.
This fixes a -Wincompatible-pointer-types warning because
ext2fs_get_device_size() was being passed a 'blk64_t *', but it expected
a 'blk_t *'.
Signed-off-by: Eric Biggers <redacted>Applied, thanks. - Ted