1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 00:04:06 +00:00

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

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;
}