fix implicit conversion (#2661)

Co-authored-by: LaserEyess <LaserEyess@users.noreply.github.com>
This commit is contained in:
LaserEyess 2022-02-19 21:03:57 -05:00 committed by GitHub
parent 06065af5eb
commit a660485c4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -957,7 +957,7 @@ bool preallocate_fallocate64(tr_sys_file_t handle, uint64_t size)
#ifdef HAVE_XFS_XFS_H
bool full_preallocate_xfs(tr_sys_file_t handle, uint64_t size)
{
if (!platform_test_xfs_fd(handle)) // true if on xfs filesystem
if (platform_test_xfs_fd(handle) == 0) // true if on xfs filesystem
{
return false;
}